summaryrefslogtreecommitdiffstats
path: root/tests/bl/FolderBlTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bl/FolderBlTest.php')
-rw-r--r--tests/bl/FolderBlTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/bl/FolderBlTest.php b/tests/bl/FolderBlTest.php
index dca99c682..de8ba9604 100644
--- a/tests/bl/FolderBlTest.php
+++ b/tests/bl/FolderBlTest.php
@@ -39,10 +39,10 @@ class FolderBlTest extends \OCA\AppFramework\Utility\TestUtility {
protected function setUp(){
$this->api = $this->getAPIMock();
- $this->folderMapper = $this->getMock(
- '\OCA\News\Db\NewsMapper',
- array('findAllFromUser', 'insert', 'update', 'find'),
- array($this->api, 'test'));
+ $this->folderMapper = $this->getMockBuilder(
+ '\OCA\News\Db\FolderMapper')
+ ->disableOriginalConstructor()
+ ->getMock();
$this->folderBl = new FolderBl($this->folderMapper);
}