diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2021-02-16 21:17:10 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-02-20 13:57:09 +0100 |
commit | 4a107b3d53c4fe651ac704251b99e04a53cd587f (patch) | |
tree | 9700c89992f1ad739023d73fcd434250c323089e /tests/Unit/Controller/PageControllerTest.php | |
parent | 01e1db329ced43323654990828744d577cac4ba8 (diff) |
General: Fix folder query
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
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()) |