diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-14 00:35:04 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-14 00:35:04 +0000 |
commit | 75d7daa5c644090ba640565cb2b4e3d2412d64d5 (patch) | |
tree | 5c97b4368962edd0a11d627d27a66ea04ba77321 /engine/tests/objects | |
parent | e9d468a10843ab5841ae7ad40eafba0ee0f1363e (diff) | |
download | elgg-75d7daa5c644090ba640565cb2b4e3d2412d64d5.tar.gz elgg-75d7daa5c644090ba640565cb2b4e3d2412d64d5.tar.bz2 |
fixed unit test broken by that last commit (we were returning a string from getAnnotations() when it is supposed to return an array)
git-svn-id: http://code.elgg.org/elgg/trunk@8991 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/objects')
-rw-r--r-- | engine/tests/objects/entities.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/tests/objects/entities.php b/engine/tests/objects/entities.php index ca3abb274..c04bc60ff 100644 --- a/engine/tests/objects/entities.php +++ b/engine/tests/objects/entities.php @@ -107,7 +107,7 @@ class ElggCoreEntityTest extends ElggCoreUnitTest { // set and check temp annotation $this->assertTrue($this->entity->annotate('non_existent', 'testing')); - $this->assertIdentical($this->entity->getAnnotations('non_existent'), 'testing'); + $this->assertIdentical($this->entity->getAnnotations('non_existent'), array('testing')); $this->assertTrue(array_key_exists('non_existent', $this->entity->expose_annotations())); // save entity and check for annotation |