diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-08 21:52:34 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-08 21:52:34 -0400 |
commit | ba4bbf484d33fe24332ff63ac3b063f346a2a74c (patch) | |
tree | 5342f33dd095c43e2cc2bb6bcf635dd3d6f00820 /engine/tests/objects/users.php | |
parent | 9acaf639b57e06178c92b8321012833c4e1fdb80 (diff) | |
download | elgg-ba4bbf484d33fe24332ff63ac3b063f346a2a74c.tar.gz elgg-ba4bbf484d33fe24332ff63ac3b063f346a2a74c.tar.bz2 |
Fixes #3942 fixed all the warnings and notices in the unit tests
Diffstat (limited to 'engine/tests/objects/users.php')
-rw-r--r-- | engine/tests/objects/users.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/engine/tests/objects/users.php b/engine/tests/objects/users.php index ba93c2439..d1533c3d2 100644 --- a/engine/tests/objects/users.php +++ b/engine/tests/objects/users.php @@ -220,29 +220,6 @@ class ElggCoreUserTest extends ElggCoreUnitTest { $this->user->delete(); } - // remove in 1.9 - public function testElggUserIsAdminLegacy() { - $this->user->save(); - $this->user->makeAdmin(); - - $this->assertTrue($this->user->admin); - $this->assertTrue($this->user->siteadmin); - - $this->user->removeAdmin(); - $this->user->delete(); - } - - public function testElggUserIsNotAdminLegacy() { - $this->user->save(); - $this->user->removeAdmin(); - - $this->assertFalse($this->user->admin); - $this->assertFalse($this->user->siteadmin); - - $this->user->removeAdmin(); - $this->user->delete(); - } - protected function fetchUser($guid) { global $CONFIG; |