diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-09-20 22:03:05 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-25 19:18:04 +0200 |
commit | 60ab4941cc7e6ede095e9e4aee3c2bf9a5c3bff6 (patch) | |
tree | baf0b07dd1c545efeb59437af46a99f4d9f69425 /tests/Unit/Controller/FeedControllerTest.php | |
parent | 2c8b4fa019749113658b9ed8cae211b679e4cbc0 (diff) |
Move to nextcloud config and update phpunit
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'tests/Unit/Controller/FeedControllerTest.php')
-rw-r--r-- | tests/Unit/Controller/FeedControllerTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Unit/Controller/FeedControllerTest.php b/tests/Unit/Controller/FeedControllerTest.php index 4703d307a..9a3114da0 100644 --- a/tests/Unit/Controller/FeedControllerTest.php +++ b/tests/Unit/Controller/FeedControllerTest.php @@ -45,7 +45,7 @@ class FeedControllerTest extends TestCase /** * Gets run before each test */ - public function setUp() + public function setUp(): void { $this->appName = 'news'; $this->user = 'jack'; @@ -398,7 +398,7 @@ class FeedControllerTest extends TestCase } - public function testImport() + public function testImport() { $feed = new Feed(); @@ -426,7 +426,7 @@ class FeedControllerTest extends TestCase } - public function testImportCreatesNoAdditionalFeed() + public function testImportCreatesNoAdditionalFeed() { $this->feedService->expects($this->once()) ->method('importArticles') @@ -467,7 +467,7 @@ class FeedControllerTest extends TestCase } - public function testRestore() + public function testRestore() { $this->feedService->expects($this->once()) ->method('unmarkDeleted') @@ -492,7 +492,7 @@ class FeedControllerTest extends TestCase $this->assertEquals($response->getStatus(), Http::STATUS_NOT_FOUND); } - public function testPatch() + public function testPatch() { $expected = [ 'pinned' => true, |