There was an error while loading. Please reload this page.
1 parent d7fcd8a commit 3264455Copy full SHA for 3264455
1 file changed
php-packages/testing/src/integration/TestCase.php
@@ -16,6 +16,7 @@
16
use Flarum\Testing\integration\Extend\BeginTransactionAndSetDatabase;
17
use Flarum\Testing\integration\Extend\OverrideExtensionManagerForTests;
18
use Flarum\Testing\integration\Extend\SetSettingsBeforeBoot;
19
+use Illuminate\Contracts\Cache\Store;
20
use Illuminate\Database\ConnectionInterface;
21
use Illuminate\Support\Arr;
22
use Laminas\Diactoros\ServerRequest;
@@ -36,6 +37,7 @@ protected function tearDown(): void
36
37
parent::tearDown();
38
39
$this->database()->rollBack();
40
+ $this->app()->getContainer()->make(Store::class)->flush();
41
}
42
43
/**
0 commit comments