Skip to content

Commit f3144b8

Browse files
committed
Set the hashing rounds low to speed up tests
1 parent d035590 commit f3144b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/TestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Tests;
44

55
use Cake\Chronos\Chronos;
6+
use Illuminate\Support\Facades\Hash;
67
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
78

89
abstract class TestCase extends BaseTestCase
@@ -16,6 +17,7 @@ public function setUp()
1617
{
1718
parent::setUp();
1819

20+
Hash::setRounds(4);
1921
$this->setKnownUuidFactory();
2022
}
2123

0 commit comments

Comments
 (0)