summaryrefslogtreecommitdiffstats
path: root/apps/settings/tests/Controller/MailSettingsControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/tests/Controller/MailSettingsControllerTest.php')
-rw-r--r--apps/settings/tests/Controller/MailSettingsControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings/tests/Controller/MailSettingsControllerTest.php b/apps/settings/tests/Controller/MailSettingsControllerTest.php
index 1607926219e..5015ca0a7a1 100644
--- a/apps/settings/tests/Controller/MailSettingsControllerTest.php
+++ b/apps/settings/tests/Controller/MailSettingsControllerTest.php
@@ -41,7 +41,7 @@ class MailSettingsControllerTest extends \Test\TestCase {
/** @var MailSettingsController */
private $mailController;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->l = $this->createMock(IL10N::class);
@@ -172,7 +172,7 @@ class MailSettingsControllerTest extends \Test\TestCase {
->method('createEMailTemplate')
->willReturn($emailTemplate);
$response = $this->mailController->sendTestMail();
- $this->assertSame(Http::STATUS_OK, $response->getStatus(), $response->getData());
+ $this->assertSame(Http::STATUS_OK, $response->getStatus());
}
}