aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
Diffstat (limited to 'engine/tests')
-rw-r--r--engine/tests/objects/objects.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/tests/objects/objects.php b/engine/tests/objects/objects.php
index 95f507695..55734be13 100644
--- a/engine/tests/objects/objects.php
+++ b/engine/tests/objects/objects.php
@@ -144,15 +144,15 @@ class ElggCoreObjectTest extends ElggCoreUnitTest {
}
public function testElggObjectContainer() {
- $this->assertEqual($this->entity->getContainer(), get_loggedin_userid());
+ $this->assertEqual($this->entity->getContainerGUID(), get_loggedin_userid());
// create and save to group
$group = new ElggGroup();
$guid = $group->save();
- $this->assertTrue($this->entity->setContainer($guid));
+ $this->assertTrue($this->entity->setContainerGUID($guid));
// check container
- $this->assertEqual($this->entity->getContainer(), $guid);
+ $this->assertEqual($this->entity->getContainerGUID(), $guid);
$this->assertIdentical($group, $this->entity->getContainerEntity());
// clean up