summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Service/ItemServiceTest.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/Unit/Service/ItemServiceTest.php b/tests/Unit/Service/ItemServiceTest.php
index 1f77a92e2..e67756468 100644
--- a/tests/Unit/Service/ItemServiceTest.php
+++ b/tests/Unit/Service/ItemServiceTest.php
@@ -18,7 +18,6 @@ use OCA\News\Service\Exceptions\ServiceConflictException;
use OCA\News\Service\Exceptions\ServiceValidationException;
use OCA\News\Service\Exceptions\ServiceNotFoundException;
use OCA\News\Service\ItemServiceV2;
-use OCA\News\Service\FeedServiceV2;
use \OCP\AppFramework\Db\DoesNotExistException;
use \OCA\News\Db\Item;
@@ -44,11 +43,6 @@ class ItemServiceTest extends TestCase
private $mapper;
/**
- * @var MockObject|FeedServiceV2
- */
- private $feedService;
-
- /**
* @var ItemServiceV2
*/
private $class;
@@ -78,10 +72,6 @@ class ItemServiceTest extends TestCase
->disableOriginalConstructor()
->getMock();
- $this->feedService = $this->getMockBuilder(FeedServiceV2::class)
- ->disableOriginalConstructor()
- ->getMock();
-
$this->config = $this->getMockBuilder(IConfig::class)
->disableOriginalConstructor()
->getMock();
@@ -92,7 +82,6 @@ class ItemServiceTest extends TestCase
$this->class = new ItemServiceV2(
$this->mapper,
- $this->feedService,
$this->config,
$this->logger
);