summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Utility/UpdaterTest.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-09-20 22:03:05 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2020-09-25 19:18:04 +0200
commit60ab4941cc7e6ede095e9e4aee3c2bf9a5c3bff6 (patch)
treebaf0b07dd1c545efeb59437af46a99f4d9f69425 /tests/Unit/Utility/UpdaterTest.php
parent2c8b4fa019749113658b9ed8cae211b679e4cbc0 (diff)
Move to nextcloud config and update phpunit
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'tests/Unit/Utility/UpdaterTest.php')
-rw-r--r--tests/Unit/Utility/UpdaterTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Unit/Utility/UpdaterTest.php b/tests/Unit/Utility/UpdaterTest.php
index 3a285ccfd..3cd81de02 100644
--- a/tests/Unit/Utility/UpdaterTest.php
+++ b/tests/Unit/Utility/UpdaterTest.php
@@ -28,7 +28,7 @@ class UpdaterTest extends TestCase
private $itemService;
private $updater;
- protected function setUp()
+ protected function setUp(): void
{
$this->folderService = $this->getMockBuilder(FolderService::class)
->disableOriginalConstructor()
@@ -46,7 +46,7 @@ class UpdaterTest extends TestCase
);
}
- public function testBeforeUpdate()
+ public function testBeforeUpdate()
{
$this->folderService->expects($this->once())
->method('purgeDeleted');
@@ -56,14 +56,14 @@ class UpdaterTest extends TestCase
}
- public function testAfterUpdate()
+ public function testAfterUpdate()
{
$this->itemService->expects($this->once())
->method('autoPurgeOld');
$this->updater->afterUpdate();
}
- public function testUpdate()
+ public function testUpdate()
{
$this->feedService->expects($this->once())
->method('updateAll');