aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/objects
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 13:42:32 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-20 13:42:32 +0000
commit0e1cb51859981d0c9d1f491e4ea59316ddaf7531 (patch)
tree8150fb29d13748df639dce36b8ec71e499e774e7 /engine/tests/objects
parent944b8f89b8dd87bf444503d0815aa69ed19f599d (diff)
downloadelgg-0e1cb51859981d0c9d1f491e4ea59316ddaf7531.tar.gz
elgg-0e1cb51859981d0c9d1f491e4ea59316ddaf7531.tar.bz2
Refs #2668 adds getContainerGUID()
git-svn-id: http://code.elgg.org/elgg/trunk@7379 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/objects')
-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