Skip to content

Commit ec3d41f

Browse files
committed
Fix query log test
1 parent 59b4fb8 commit ec3d41f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ConnectionTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public function testDynamic()
6464

6565
public function testQueryLog()
6666
{
67+
DB::enableQueryLog();
68+
6769
$this->assertEquals(0, count(DB::getQueryLog()));
6870

6971
DB::collection('items')->get();

0 commit comments

Comments
 (0)