We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 745aa7c commit 19b13b9Copy full SHA for 19b13b9
1 file changed
tests/system/Database/Builder/CountTest.php
@@ -24,7 +24,7 @@ public function testCountAll()
24
25
$expectedSQL = "SELECT COUNT(*) AS \"numrows\" FROM \"jobs\"";
26
27
- $this->assertEquals($expectedSQL, $builder->countAll(true));
+ $this->assertEquals($expectedSQL, $builder->countAll(true, true));
28
}
29
30
//--------------------------------------------------------------------
@@ -33,7 +33,7 @@ public function testCountAllResults()
33
{
34
$builder = new BaseBuilder('jobs', $this->db);
35
36
- $answer = $builder->where('id >', 3)->countAllResults(null, true);
+ $answer = $builder->where('id >', 3)->countAllResults(false, true);
37
38
$expectedSQL = "SELECT COUNT(*) AS \"numrows\" FROM \"jobs\" WHERE \"id\" > :id:";
39
0 commit comments