Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests
Browse files Browse the repository at this point in the history
Tigrov committed Sep 28, 2023
1 parent a1cef28 commit fb6bc5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/Common/CommonQueryTest.php
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ public function testColumnIndexByWithClosure()

public function testWithQuery()
{
$db = $this->getConnection();
$db = $this->getConnection(true);

$with = (new Query($db))
->distinct()
@@ -50,6 +50,8 @@ public function testWithQuery()
->from('statuses');

$this->assertEquals(2, $query->count());

$db->close();
}

public function testWithQueryRecursive()
@@ -76,5 +78,7 @@ public function testWithQueryRecursive()
->sum($quotedName);

$this->assertEquals(55, $sum);

$db->close();
}
}

0 comments on commit fb6bc5d

Please sign in to comment.