Skip to content

Commit 6391cc3

Browse files
committed
Fix LogSqlQueryTest by moving to feature tests and disabling deferred functions
1 parent 9430a08 commit 6391cc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Unit/LogSqlQueryTest.php renamed to tests/Feature/LogSqlQueryTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Onlime\LaravelSqlReporter\SqlLogger;
88

99
beforeEach(function () {
10+
$this->withoutDefer();
1011
$this->logger = Mockery::spy(SqlLogger::class);
1112
});
1213

0 commit comments

Comments
 (0)