]> source.dussan.org Git - nextcloud-server.git/commit
Fix many issues with the tests 33007/head
authorCarl Schwan <carl@carlschwan.eu>
Tue, 28 Jun 2022 09:26:30 +0000 (11:26 +0200)
committerCarl Schwan <carl@carlschwan.eu>
Tue, 28 Jun 2022 09:26:30 +0000 (11:26 +0200)
commitf38e0600900ddecf9a3eeef86f66099ea9c3d88b
tree18f7ce960bdccf49398b29df8c9932d3f98c76b3
parent6114176b71faa5cbe9b28a307888e2ea0a21dcc4
Fix many issues with the tests

- Return type were not correct
- willReturn and with confusion

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
apps/federation/lib/Controller/SettingsController.php
apps/federation/lib/DbHandler.php
apps/federation/tests/Controller/OCSAuthAPIControllerTest.php
apps/federation/tests/Controller/SettingsControllerTest.php
apps/federation/tests/Middleware/AddServerMiddlewareTest.php
apps/federation/tests/SyncFederationAddressbooksTest.php
apps/federation/tests/TrustedServersTest.php