]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixed unit test broken by that last commit (we were returning a string from getAnnota...
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 14 Apr 2011 00:35:04 +0000 (00:35 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 14 Apr 2011 00:35:04 +0000 (00:35 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8991 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/tests/objects/entities.php

index ca3abb274a06d5da453e23539613a020a849eee7..c04bc60fff10468fa4d84fc7a9a4e4d0fc9a9c57 100644 (file)
@@ -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