File tree Expand file tree Collapse file tree
spec/system/framework/Security/Hashing Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ) {
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 ) {
You can’t perform that action at this time.
0 commit comments