diff options
Diffstat (limited to 'tests/Unit/Controller/PageControllerTest.php')
-rw-r--r-- | tests/Unit/Controller/PageControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Unit/Controller/PageControllerTest.php b/tests/Unit/Controller/PageControllerTest.php index 5f62bfe9f..4e2950479 100644 --- a/tests/Unit/Controller/PageControllerTest.php +++ b/tests/Unit/Controller/PageControllerTest.php @@ -15,7 +15,7 @@ namespace OCA\News\Tests\Unit\Controller; use OC\L10N\L10N; use OCA\News\Controller\PageController; -use \OCA\News\Db\FeedType; +use \OCA\News\Db\ListType; use OCA\News\Explore\Exceptions\RecommendedSiteNotFoundException; use OCA\News\Explore\RecommendedSites; use OCA\News\Service\StatusService; @@ -264,7 +264,7 @@ class PageControllerTest extends TestCase ->method('setUserValue') ->withConsecutive( ['becka', 'news', 'lastViewedFeedId', 0], - ['becka', 'news', 'lastViewedFeedType', FeedType::EXPLORE] + ['becka', 'news', 'lastViewedFeedType', ListType::EXPLORE] ); $this->recommended->expects($this->once()) @@ -284,7 +284,7 @@ class PageControllerTest extends TestCase ->method('setUserValue') ->withConsecutive( ['becka', 'news', 'lastViewedFeedId', 0], - ['becka', 'news', 'lastViewedFeedType', FeedType::EXPLORE] + ['becka', 'news', 'lastViewedFeedType', ListType::EXPLORE] ); $this->recommended->expects($this->once()) |