]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix tests in CheckSetupControllerTest
authorCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 11 Jan 2024 14:09:18 +0000 (15:09 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 15 Jan 2024 10:50:48 +0000 (11:50 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/settings/tests/Controller/CheckSetupControllerTest.php

index 92942abf9788f380804dd5cc15c65735bf479235..25676fe6778c1384f7b797d0dd01462883ff1d34 100644 (file)
@@ -191,10 +191,6 @@ class CheckSetupControllerTest extends TestCase {
                                'relativeTime' => '2 hours ago',
                                'backgroundJobsUrl' => 'https://example.org',
                        ]);
-               $this->checker
-                       ->expects($this->once())
-                       ->method('hasPassedCheck')
-                       ->willReturn(true);
 
                $this->checkSetupController
                        ->expects($this->once())