diff options
Diffstat (limited to 'tests/unit/db/postgres/ItemMapperTest.php')
-rw-r--r-- | tests/unit/db/postgres/ItemMapperTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/db/postgres/ItemMapperTest.php b/tests/unit/db/postgres/ItemMapperTest.php index ff8651233..2fbd7a71a 100644 --- a/tests/unit/db/postgres/ItemMapperTest.php +++ b/tests/unit/db/postgres/ItemMapperTest.php @@ -48,7 +48,7 @@ class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility { { $this->beforeEach(); - $this->mapper = new ItemMapper($this->api); + $this->mapper = new ItemMapper($this->db); // create mock items $item1 = new Item(); |