Skip to content

Commit 62151fc

Browse files
committed
Flush cache in attempt to fix error when setting store
1 parent 3d77637 commit 62151fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/TestCase.php

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

55
use Illuminate\Foundation\Testing\DatabaseTransactions;
6+
use Illuminate\Support\Facades\Cache;
67
use Illuminate\Support\Facades\Schema;
78
use Orchestra\Testbench\TestCase as BaseTestCase;
89
use Rapidez\Core\Facades\Rapidez;
@@ -20,6 +21,8 @@ public function setUp(): void
2021

2122
$this->setUpDatabase($this->app);
2223

24+
Cache::flush();
25+
2326
Rapidez::setStore(1);
2427
}
2528

0 commit comments

Comments
 (0)