Skip to content

Commit 7416797

Browse files
authored
Merge pull request #63 from blitz-php/devs
test: fix test for scrutinizer
2 parents 763d41d + d8e2d17 commit 7416797

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/system/framework/Security/Hashing/Hasher.spec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
expect($value)->not->toBe('password');
122122
expect($hasher->check('password', $value))->toBeTruthy();
123123
expect($hasher->needsRehash($value))->toBeFalsy();
124-
expect($hasher->needsRehash($value, ['threads' => 1]))->toBeTruthy();
124+
expect($hasher->needsRehash($value, ['threads' => 3]))->toBeTruthy();
125125
expect($hasher->info($value)['algoName'])->toBe('argon2i');
126126
expect($this->hasher->isHashed($value))->toBeTruthy();
127127
} catch (Throwable) {
@@ -137,7 +137,7 @@
137137
expect($value)->not->toBe('password');
138138
expect($hasher->check('password', $value))->toBeTruthy();
139139
expect($hasher->needsRehash($value))->toBeFalsy();
140-
expect($hasher->needsRehash($value, ['threads' => 1]))->toBeTruthy();
140+
expect($hasher->needsRehash($value, ['threads' => 3]))->toBeTruthy();
141141
expect($hasher->info($value)['algoName'])->toBe('argon2id');
142142
expect($this->hasher->isHashed($value))->toBeTruthy();
143143
} catch (Throwable) {

0 commit comments

Comments
 (0)