diff options
Diffstat (limited to 'tests/bl/FeedBlTest.php')
-rw-r--r-- | tests/bl/FeedBlTest.php | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/bl/FeedBlTest.php b/tests/bl/FeedBlTest.php index e67c7ab81..08f98beab 100644 --- a/tests/bl/FeedBlTest.php +++ b/tests/bl/FeedBlTest.php @@ -35,20 +35,19 @@ class FeedBlTest extends \OCA\AppFramework\Utility\TestUtility { protected $api; protected $feedMapper; - protected $folderBl; + protected $feedBl; protected function setUp(){ $this->api = $this->getAPIMock(); - $this->feedMapper = $this->getMock( - '\OCA\News\Db\NewsMapper', - array('findAllFromUser', 'insert', 'update', 'find'), - array($this->api, 'test')); - $this->folderBl = new FolderBl($this->feedMapper); + $this->feedMapper = $this->getMockBuilder('\OCA\News\Db\FeedMapper') + ->disableOriginalConstructor() + ->getMock(); + $this->feedBl = new FeedBl($this->feedMapper); } public function testFindAll(){ - + } }
\ No newline at end of file |