aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core/Command/TwoFactorAuth/CleanupTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Core/Command/TwoFactorAuth/CleanupTest.php')
-rw-r--r--tests/Core/Command/TwoFactorAuth/CleanupTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Core/Command/TwoFactorAuth/CleanupTest.php b/tests/Core/Command/TwoFactorAuth/CleanupTest.php
index 8f082d76856..1d4731ff0c2 100644
--- a/tests/Core/Command/TwoFactorAuth/CleanupTest.php
+++ b/tests/Core/Command/TwoFactorAuth/CleanupTest.php
@@ -36,7 +36,7 @@ class CleanupTest extends TestCase {
$this->cmd = new CommandTester($cmd);
}
- public function testCleanup() {
+ public function testCleanup(): void {
$this->registry->expects($this->once())
->method('cleanUp')
->with('u2f');
@@ -47,6 +47,6 @@ class CleanupTest extends TestCase {
$this->assertEquals(0, $rc);
$output = $this->cmd->getDisplay();
- $this->assertStringContainsString("All user-provider associations for provider u2f have been removed", $output);
+ $this->assertStringContainsString('All user-provider associations for provider u2f have been removed', $output);
}
}