diff options
Diffstat (limited to 'tests/unit/external/FeedAPITest.php')
-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 |