Skip to content

Commit

Permalink
Add new laravel feature: Implement LazilyRefreshDatabase instead of…
Browse files Browse the repository at this point in the history
… `RefreshDatabase`

(cherry picked from commit d56c4f1)
  • Loading branch information
mderis committed Nov 28, 2021
1 parent 270264e commit 697019c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Abstracts/Tests/PhpUnit/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Apiato\Core\Traits\TestsTraits\PhpUnit\TestsRequestHelperTrait;
use Apiato\Core\Traits\TestsTraits\PhpUnit\TestsResponseHelperTrait;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
use Illuminate\Foundation\Testing\RefreshDatabaseState;
use Illuminate\Foundation\Testing\TestCase as LaravelTestCase;

Expand All @@ -21,7 +21,7 @@ abstract class TestCase extends LaravelTestCase
TestsMockHelperTrait,
TestsAuthHelperTrait,
HashIdTrait,
RefreshDatabase;
LazilyRefreshDatabase;

/**
* The base URL to use while testing the application.
Expand Down

0 comments on commit 697019c

Please sign in to comment.