summaryrefslogtreecommitdiffstats
path: root/tests/lib/appframework/db/mappertestutility.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/appframework/db/mappertestutility.php')
-rw-r--r--tests/lib/appframework/db/mappertestutility.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/appframework/db/mappertestutility.php b/tests/lib/appframework/db/mappertestutility.php
index 0430eef2c21..ad7a67a96b1 100644
--- a/tests/lib/appframework/db/mappertestutility.php
+++ b/tests/lib/appframework/db/mappertestutility.php
@@ -28,9 +28,7 @@ namespace Test\AppFramework\Db;
/**
* Simple utility class for testing mappers
*/
-abstract class MapperTestUtility extends \PHPUnit_Framework_TestCase {
-
-
+abstract class MapperTestUtility extends \Test\TestCase {
protected $db;
private $query;
private $pdoResult;
@@ -45,6 +43,8 @@ abstract class MapperTestUtility extends \PHPUnit_Framework_TestCase {
* db. After this the db can be accessed by using $this->db
*/
protected function setUp(){
+ parent::setUp();
+
$this->db = $this->getMockBuilder(
'\OCP\IDb')
->disableOriginalConstructor()