We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4307472 commit 942a00fCopy full SHA for 942a00f
tests/system/Database/Builder/GetTest.php
@@ -45,6 +45,9 @@ public function testGet(): void
45
*/
46
public function testGetWithReset(): void
47
{
48
+ $config = config(Feature::class);
49
+ $config->limitZeroAsAll = false;
50
+
51
$builder = $this->db->table('users');
52
$builder->testMode()->where('username', 'bogus');
53
tests/system/Database/Live/GetTest.php
@@ -51,6 +51,9 @@ public function testGetWitLimit(): void
public function testGetWithLimitZero(): void
54
55
56
57
$jobs = $this->db->table('job')->limit(0)->get()->getResult();
58
59
$this->assertCount(0, $jobs);
0 commit comments