diff --git a/config/hashing.php b/config/hashing.php index f3332ede..d3c8e2fb 100644 --- a/config/hashing.php +++ b/config/hashing.php @@ -29,7 +29,7 @@ return [ */ 'bcrypt' => [ - 'rounds' => 10, + 'rounds' => env('BCRYPT_ROUNDS', 10), ], /* diff --git a/phpunit.xml b/phpunit.xml index 9ee3e734..c9e326b6 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -24,6 +24,7 @@ + diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php index ff133fb4..547152f6 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 @@ trait CreatesApplication $app->make(Kernel::class)->bootstrap(); - Hash::driver('bcrypt')->setRounds(4); - return $app; } }