mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Set the hashing rounds low to speed up tests
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace Tests;
|
||||
|
||||
use Cake\Chronos\Chronos;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
||||
|
||||
abstract class TestCase extends BaseTestCase
|
||||
@@ -16,6 +17,7 @@ abstract class TestCase extends BaseTestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
Hash::setRounds(4);
|
||||
$this->setKnownUuidFactory();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user