]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Removed requirement that object container be a group
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 4 Nov 2010 17:21:04 +0000 (17:21 +0000)
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 4 Nov 2010 17:21:04 +0000 (17:21 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7234 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/tests/objects/objects.php

index 40c3c635aa8df651ad834951b00f65192f95a9da..479c837666d81c83002a56f67c134ca4659655cf 100644 (file)
@@ -146,9 +146,6 @@ class ElggCoreObjectTest extends ElggCoreUnitTest {
        public function testElggObjectContainer() {
                $this->assertEqual($this->entity->getContainer(), get_loggedin_userid());
 
-               // fals when container not a group
-               $this->assertFalse($this->entity->getContainerEntity());
-
                // create and save to group
                $group = new ElggGroup();
                $guid = $group->save();