Skip to content

Commit 942a00f

Browse files
committed
test: update test code
1 parent 4307472 commit 942a00f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/system/Database/Builder/GetTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ public function testGet(): void
4545
*/
4646
public function testGetWithReset(): void
4747
{
48+
$config = config(Feature::class);
49+
$config->limitZeroAsAll = false;
50+
4851
$builder = $this->db->table('users');
4952
$builder->testMode()->where('username', 'bogus');
5053

tests/system/Database/Live/GetTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ public function testGetWitLimit(): void
5151

5252
public function testGetWithLimitZero(): void
5353
{
54+
$config = config(Feature::class);
55+
$config->limitZeroAsAll = false;
56+
5457
$jobs = $this->db->table('job')->limit(0)->get()->getResult();
5558

5659
$this->assertCount(0, $jobs);

0 commit comments

Comments
 (0)