Browse Source

Merge pull request #4517 from laurencei/patch-1

Reduce Hash computations during tests
Taylor Otwell 6 years ago
parent
commit
c5a5069ac4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/CreatesApplication.php

+ 3 - 0
tests/CreatesApplication.php

@@ -2,6 +2,7 @@
 
 namespace Tests;
 
+use Illuminate\Support\Facades\Hash;
 use Illuminate\Contracts\Console\Kernel;
 
 trait CreatesApplication
@@ -17,6 +18,8 @@ trait CreatesApplication
 
         $app->make(Kernel::class)->bootstrap();
 
+        Hash::setRounds(5);
+
         return $app;
     }
 }