Skip to content

Commit

Permalink
Set hash rounds to lower the default crypt cost factor and speed up t…
Browse files Browse the repository at this point in the history
…ests. (#33)
  • Loading branch information
jbpapp authored and mpociot committed Oct 29, 2017
1 parent 1208d41 commit a5b9d2c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/CreatesApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Tests;

use Illuminate\Support\Facades\Hash;
use BotMan\Studio\Testing\BotManTester;
use BotMan\BotMan\Drivers\DriverManager;
use Illuminate\Contracts\Console\Kernel;
Expand All @@ -28,6 +29,8 @@ public function createApplication()
$this->botman = $app->make('botman');
$this->bot = new BotManTester($this->botman, $fakeDriver, $this);

Hash::setRounds(5);

return $app;
}
}

0 comments on commit a5b9d2c

Please sign in to comment.