Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Posselt committed Mar 21, 2017
1 parent fdbd289 commit f155115
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Db/MapperFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use OCA\News\Utility\Time;
use PHPUnit_Framework_TestCase;

use OCP\IDb;
use OCP\IDBConnection;

use OCA\News\Db\Mysql\ItemMapper as MysqlMapper;

Expand All @@ -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();
}
Expand Down

0 comments on commit f155115

Please sign in to comment.