From a10b775b95d6e7a25d3cf3bb5f8c633f7f1a63f5 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 21 Mar 2013 21:08:54 +0100 Subject: fixed itemmapper test --- tests/db/ItemMapperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/db/ItemMapperTest.php b/tests/db/ItemMapperTest.php index f8db1da70..82b5b2faf 100644 --- a/tests/db/ItemMapperTest.php +++ b/tests/db/ItemMapperTest.php @@ -73,7 +73,7 @@ class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility { $this->setMapperResult($sql, array($this->id, $this->userId), $this->row); $result = $this->itemMapper->find($this->id, $this->userId); - $this->assertEquals($this->items, $result); + $this->assertEquals($this->items[0], $result); } // -- cgit v1.2.3