Merge pull request #4517 from laurencei/patch-1
Reduce Hash computations during tests
This commit is contained in:
commit
c5a5069ac4
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace Tests;
|
||||
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Contracts\Console\Kernel;
|
||||
|
||||
trait CreatesApplication
|
||||
|
@ -17,6 +18,8 @@ public function createApplication()
|
|||
|
||||
$app->make(Kernel::class)->bootstrap();
|
||||
|
||||
Hash::setRounds(5);
|
||||
|
||||
return $app;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue