From ea57938c2be499ff851e1a7074040a3db5a6409a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 17 Nov 2020 19:58:00 +0100 Subject: [PATCH] p already writes the text, no need to echo Signed-off-by: Joas Schilling --- templates/form/email.php | 4 ++-- tests/Unit/Controller/RegisterControllerTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/form/email.php b/templates/form/email.php index d99ce83..01e2c56 100644 --- a/templates/form/email.php +++ b/templates/form/email.php @@ -19,9 +19,9 @@ style('registration', 'style'); diff --git a/tests/Unit/Controller/RegisterControllerTest.php b/tests/Unit/Controller/RegisterControllerTest.php index c6ac01f..25ea874 100644 --- a/tests/Unit/Controller/RegisterControllerTest.php +++ b/tests/Unit/Controller/RegisterControllerTest.php @@ -125,7 +125,7 @@ class RegisterControllerTest extends TestCase { public function testShowEmailForm(string $email, string $message): void { $controller = $this->getController(); $response = $controller->showEmailForm($email, $message); - $disable_email_verification = $this->config->getAppValue("registration", 'disable_email_verification', 'no'); + $disable_email_verification = $this->config->getAppValue('registration', 'disable_email_verification', 'no'); self::assertSame(TemplateResponse::RENDER_AS_GUEST, $response->getRenderAs()); self::assertSame('form/email', $response->getTemplateName());