Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Mar 25, 2024
1 parent 2daa490 commit 91dc2c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Concerns/InteractsWithMigrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ trait InteractsWithMigrations
*/
protected function tearDownInteractsWithMigrations(): void
{
if (\count($this->cachedTestSchemaMigrators) > 0 && static::usesRefreshDatabaseTestingConcern()) {
if (
\count($this->cachedTestSchemaMigrators) > 0
&& (static::usesRefreshDatabaseTestingConcern() || static::usesSqliteInMemoryDatabaseConnection())
) {
ResetRefreshDatabaseState::run();
}

Expand Down

0 comments on commit 91dc2c0

Please sign in to comment.