diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-21 17:07:57 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-03-21 17:07:57 +0100 |
commit | 2c0cbeac0de984dea76b302b5cc3d0b987c80b55 (patch) | |
tree | ba33b8ee5cb0e21acb8ade301fe88adbc9fe4dff /tests/bl/FeedBlTest.php | |
parent | a65714c9d2180a0b1b3f02e2dba1a5d5a4a29d2e (diff) |
added additional empty methods
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 |