summaryrefslogtreecommitdiffstats
path: root/tests/unit/db/postgres/ItemMapperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/db/postgres/ItemMapperTest.php')
-rw-r--r--tests/unit/db/postgres/ItemMapperTest.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/unit/db/postgres/ItemMapperTest.php b/tests/unit/db/postgres/ItemMapperTest.php
index 1bc298566..24a0e8e25 100644
--- a/tests/unit/db/postgres/ItemMapperTest.php
+++ b/tests/unit/db/postgres/ItemMapperTest.php
@@ -20,7 +20,7 @@ use \OCA\News\Db\StatusFlag;
require_once(__DIR__ . "/../../../classloader.php");
-class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility {
+class ItemMapperTest extends \OCP\AppFramework\Db\MapperTestUtility {
private $mapper;
private $items;
@@ -32,9 +32,8 @@ class ItemMapperTest extends \OCA\News\Utility\MapperTestUtility {
private $status;
- public function setUp()
- {
- $this->beforeEach();
+ public function setUp() {
+ parent::setUp();
$this->mapper = new ItemMapper($this->db);