summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-21 21:08:54 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-21 21:08:54 +0100
commita10b775b95d6e7a25d3cf3bb5f8c633f7f1a63f5 (patch)
tree95de7c0ac38178e08192fc8ff92596f2108770a4 /tests
parentc8bdd9c3fb0ab872b868c151f052748235601653 (diff)
fixed itemmapper test
Diffstat (limited to 'tests')
-rw-r--r--tests/db/ItemMapperTest.php2
1 files changed, 1 insertions, 1 deletions
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);
}
//