diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-02 16:55:11 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-02 16:55:11 +0200 |
commit | c8c01278d837b3ecc01636fdd5b2d52638833687 (patch) | |
tree | be9a12ebe3734978486623427e914d8b4db9982c /tests | |
parent | df91fdfa373cacef6aa20998a00b8fbcfd164d1b (diff) |
implement all routes and function bodies for api calls
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/external/FeedAPITest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/external/FeedAPITest.php b/tests/unit/external/FeedAPITest.php index 8ceafd016..b3c945115 100644 --- a/tests/unit/external/FeedAPITest.php +++ b/tests/unit/external/FeedAPITest.php @@ -42,12 +42,17 @@ class FeedAPITest extends \PHPUnit_Framework_TestCase { private $feedAPI; private $api; private $user; + private $request; protected function setUp() { $this->api = $this->folderBusinessLayer = $this->getMockBuilder( '\OCA\AppFramework\Core\API') ->disableOriginalConstructor() ->getMock(); + $this->request = $this->folderBusinessLayer = $this->getMockBuilder( + '\OCA\AppFramework\Http\Request') + ->disableOriginalConstructor() + ->getMock(); $this->folderBusinessLayer = $this->getMockBuilder( '\OCA\News\BusinessLayer\FolderBusinessLayer') ->disableOriginalConstructor() @@ -62,6 +67,7 @@ class FeedAPITest extends \PHPUnit_Framework_TestCase { ->getMock(); $this->feedAPI = new FeedAPI( $this->api, + $this->request, $this->folderBusinessLayer, $this->feedBusinessLayer, $this->itemBusinessLayer |