diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-14 01:04:57 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-14 01:04:57 +0200 |
commit | 2bfa9f22b7d97dcdbda5992ad603d9d10482b49f (patch) | |
tree | 6d23098988a6a7ab0b99b4baf1b6ad13b9a7be25 /tests/unit/db/postgres | |
parent | 7faa40dc59738fc4b5bb9dd2121e433e2301c36b (diff) |
fix unittests
Diffstat (limited to 'tests/unit/db/postgres')
-rw-r--r-- | tests/unit/db/postgres/ItemMapperTest.php | 7 |
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); |