summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-19 19:30:12 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-19 19:30:12 +0200
commit4a7e0561caebd470fbaaf88655619930260a573e (patch)
treedf8451dc9126c574144b4f907840899d16c62fca /tests
parent0fe4db099265c7e7a9f4be2c98bb3d9329670286 (diff)
downloadnextcloud-server-4a7e0561caebd470fbaaf88655619930260a573e.tar.gz
nextcloud-server-4a7e0561caebd470fbaaf88655619930260a573e.zip
move db into iservercontainer
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/appframework/db/MapperTest.php2
-rw-r--r--tests/lib/appframework/db/MapperTestUtility.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/appframework/db/MapperTest.php b/tests/lib/appframework/db/MapperTest.php
index c4eb35a068e..114081beb21 100644
--- a/tests/lib/appframework/db/MapperTest.php
+++ b/tests/lib/appframework/db/MapperTest.php
@@ -24,6 +24,8 @@
namespace OCP\AppFramework\Db;
+use \OCP\IDb;
+
require_once __DIR__ . '/MapperTestUtility.php';
diff --git a/tests/lib/appframework/db/MapperTestUtility.php b/tests/lib/appframework/db/MapperTestUtility.php
index ecd79fef263..4c81d4cd27b 100644
--- a/tests/lib/appframework/db/MapperTestUtility.php
+++ b/tests/lib/appframework/db/MapperTestUtility.php
@@ -46,7 +46,7 @@ abstract class MapperTestUtility extends \PHPUnit_Framework_TestCase {
*/
protected function setUp(){
$this->db = $this->getMockBuilder(
- '\OCP\AppFramework\Db\IDb')
+ '\OCP\IDb')
->disableOriginalConstructor()
->getMock();