diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-12-26 13:09:41 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2020-12-30 11:21:44 +0100 |
commit | 05377d023ef4d43818a4b42039c8143cb0f907e4 (patch) | |
tree | c01fc681c42671dad774de7dc7c46524eb9ae015 /lib/Controller/ItemController.php | |
parent | 27bd54058050a70bd1c9ec8cfcdf42d38541f1b0 (diff) |
Remove PHPunit integration tests
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Controller/ItemController.php')
-rw-r--r-- | lib/Controller/ItemController.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Controller/ItemController.php b/lib/Controller/ItemController.php index 7506891d4..8783a5286 100644 --- a/lib/Controller/ItemController.php +++ b/lib/Controller/ItemController.php @@ -13,6 +13,7 @@ namespace OCA\News\Controller; +use OCA\News\Service\FeedServiceV2; use \OCP\IRequest; use \OCP\IConfig; use \OCP\AppFramework\Http; @@ -20,7 +21,6 @@ use \OCP\AppFramework\Http; use \OCA\News\Service\Exceptions\ServiceException; use \OCA\News\Service\Exceptions\ServiceNotFoundException; use \OCA\News\Service\ItemService; -use \OCA\News\Service\FeedService; use OCP\IUserSession; class ItemController extends Controller @@ -28,12 +28,18 @@ class ItemController extends Controller use JSONHttpErrorTrait; private $itemService; + /** + * @var FeedServiceV2 + */ private $feedService; + /** + * @var IConfig + */ private $settings; public function __construct( IRequest $request, - FeedService $feedService, + FeedServiceV2 $feedService, ItemService $itemService, IConfig $settings, ?IUserSession $userSession |