From 75d7daa5c644090ba640565cb2b4e3d2412d64d5 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 14 Apr 2011 00:35:04 +0000 Subject: 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 --- engine/tests/objects/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/tests/objects') 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 -- cgit v1.2.3