summaryrefslogtreecommitdiffstats
path: root/tests/Unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit')
-rw-r--r--tests/Unit/Db/MapperFactoryTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Db/MapperFactoryTest.php b/tests/Unit/Db/MapperFactoryTest.php
index ce2650ac8..d519b1105 100644
--- a/tests/Unit/Db/MapperFactoryTest.php
+++ b/tests/Unit/Db/MapperFactoryTest.php
@@ -16,7 +16,7 @@ namespace OCA\News\Db;
use OCA\News\Utility\Time;
use PHPUnit_Framework_TestCase;
-use OCP\IDb;
+use OCP\IDBConnection;
use OCA\News\Db\Mysql\ItemMapper as MysqlMapper;
@@ -27,7 +27,7 @@ class MapperFactoryTest extends PHPUnit_Framework_TestCase {
private $settings;
public function setUp() {
- $this->db = $this->getMockBuilder(IDb::class)
+ $this->db = $this->getMockBuilder(IDBConnection::class)
->disableOriginalConstructor()
->getMock();
}