diff --git a/config/hashing.php b/config/hashing.php index f3332edea3f..d3c8e2fb22a 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -29,7 +29,7 @@ */ 'bcrypt' => [ - 'rounds' => 10, + 'rounds' => env('BCRYPT_ROUNDS', 10), ], /* diff --git a/phpunit.xml b/phpunit.xml index 9ee3e734723..c9e326b6959 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -24,6 +24,7 @@ + diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php index ff133fb4dc3..547152f6a93 100644 --- a/tests/CreatesApplication.php +++ b/tests/CreatesApplication.php @@ -2,7 +2,6 @@ namespace Tests; -use Illuminate\Support\Facades\Hash; use Illuminate\Contracts\Console\Kernel; trait CreatesApplication @@ -18,8 +17,6 @@ public function createApplication() $app->make(Kernel::class)->bootstrap(); - Hash::driver('bcrypt')->setRounds(4); - return $app; } }