summaryrefslogtreecommitdiffstats
path: root/tests/unit/businesslayer/ItemBusinessLayerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/businesslayer/ItemBusinessLayerTest.php')
-rw-r--r--tests/unit/businesslayer/ItemBusinessLayerTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/businesslayer/ItemBusinessLayerTest.php b/tests/unit/businesslayer/ItemBusinessLayerTest.php
index c120b753d..2909dae28 100644
--- a/tests/unit/businesslayer/ItemBusinessLayerTest.php
+++ b/tests/unit/businesslayer/ItemBusinessLayerTest.php
@@ -27,8 +27,7 @@ namespace OCA\News\BusinessLayer;
require_once(__DIR__ . "/../../classloader.php");
-use \OCA\AppFramework\Db\DoesNotExistException;
-
+use \OCA\News\Db\DoesNotExistException;
use \OCA\News\Db\Item;
use \OCA\News\Db\StatusFlag;
use \OCA\News\Db\FeedType;
@@ -49,7 +48,7 @@ class ItemBusinessLayerTest extends \OCA\AppFramework\Utility\TestUtility {
protected function setUp(){
$this->time = 222;
$timeFactory = $this->getMockBuilder(
- '\OCA\AppFramework\Utility\TimeFactory')
+ '\OCA\News\Utility\TimeFactory')
->disableOriginalConstructor()
->getMock();
$timeFactory->expects($this->any())