aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/tests
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-10-26 14:45:05 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-11-07 12:14:02 +0100
commit5957a2bf6bfbb89c7c6b689e3eef89b7072fe3cf (patch)
treedf20b4279431ea0c612d664572322083637e4d8e /apps/settings/tests
parent506f3961ecf6616bac81f2c56d5e20d58ab435c6 (diff)
downloadnextcloud-server-5957a2bf6bfbb89c7c6b689e3eef89b7072fe3cf.tar.gz
nextcloud-server-5957a2bf6bfbb89c7c6b689e3eef89b7072fe3cf.zip
Migrate email test to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings/tests')
-rw-r--r--apps/settings/tests/Controller/CheckSetupControllerTest.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/settings/tests/Controller/CheckSetupControllerTest.php b/apps/settings/tests/Controller/CheckSetupControllerTest.php
index 80cb1ec9ea1..586b59132ee 100644
--- a/apps/settings/tests/Controller/CheckSetupControllerTest.php
+++ b/apps/settings/tests/Controller/CheckSetupControllerTest.php
@@ -189,7 +189,6 @@ class CheckSetupControllerTest extends TestCase {
$this->setupCheckManager,
])
->setMethods([
- 'wasEmailTestSuccessful',
'hasValidTransactionIsolationLevel',
'hasFileinfoInstalled',
'hasWorkingFileLocking',
@@ -380,10 +379,6 @@ class CheckSetupControllerTest extends TestCase {
->willReturn(false);
$this->checkSetupController
->expects($this->once())
- ->method('wasEmailTestSuccessful')
- ->willReturn(false);
- $this->checkSetupController
- ->expects($this->once())
->method('hasValidTransactionIsolationLevel')
->willReturn(true);
$this->checkSetupController
@@ -489,7 +484,6 @@ class CheckSetupControllerTest extends TestCase {
$expected = new DataResponse(
[
- 'wasEmailTestSuccessful' => false,
'hasValidTransactionIsolationLevel' => true,
'hasFileinfoInstalled' => true,
'hasWorkingFileLocking' => true,