summaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/HasherTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Security/HasherTest.php')
-rw-r--r--tests/lib/Security/HasherTest.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/lib/Security/HasherTest.php b/tests/lib/Security/HasherTest.php
index 76f880c1c12..cc5cb786088 100644
--- a/tests/lib/Security/HasherTest.php
+++ b/tests/lib/Security/HasherTest.php
@@ -19,8 +19,7 @@ class HasherTest extends \Test\TestCase {
/**
* @return array
*/
- public function versionHashProvider()
- {
+ public function versionHashProvider() {
return [
['asf32äà$$a.|3', null],
['asf32äà$$a.|3|5', null],
@@ -30,8 +29,7 @@ class HasherTest extends \Test\TestCase {
];
}
- public function hashProviders70_71(): array
- {
+ public function hashProviders70_71(): array {
return [
// Valid SHA1 strings
['password', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', true],
@@ -140,7 +138,7 @@ class HasherTest extends \Test\TestCase {
->expects($this->any())
->method('getSystemValue')
->willReturnCallback(function ($key, $default) {
- if($key === 'passwordsalt') {
+ if ($key === 'passwordsalt') {
return '6Wow67q1wZQZpUUeI6G2LsWUu4XKx';
}
return $default;
@@ -259,6 +257,5 @@ class HasherTest extends \Test\TestCase {
$info = password_get_info($relativePath['hash']);
$this->assertEquals(PASSWORD_BCRYPT, $info['algo']);
-
}
}