diff options
Diffstat (limited to 'tests/lib/Security/Events/ValidatePasswordPolicyEventTest.php')
-rw-r--r-- | tests/lib/Security/Events/ValidatePasswordPolicyEventTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Security/Events/ValidatePasswordPolicyEventTest.php b/tests/lib/Security/Events/ValidatePasswordPolicyEventTest.php index 8a7bc3b2f29..272f34e31aa 100644 --- a/tests/lib/Security/Events/ValidatePasswordPolicyEventTest.php +++ b/tests/lib/Security/Events/ValidatePasswordPolicyEventTest.php @@ -14,14 +14,14 @@ use OCP\Security\PasswordContext; class ValidatePasswordPolicyEventTest extends \Test\TestCase { - public function testDefaultProperties() { + public function testDefaultProperties(): void { $password = 'example'; $event = new ValidatePasswordPolicyEvent($password); $this->assertEquals($password, $event->getPassword()); $this->assertEquals(PasswordContext::ACCOUNT, $event->getContext()); } - public function testSettingContext() { + public function testSettingContext(): void { $event = new ValidatePasswordPolicyEvent('example', PasswordContext::SHARING); $this->assertEquals(PasswordContext::SHARING, $event->getContext()); } |