Skip to content

Commit 4827697

Browse files
committed
test: fix comment and remove failed test case
'' fails on Postgres.
1 parent 6876a77 commit 4827697

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/system/Models/DeleteModelTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ public function testOnlyDeleted(): void
148148
}
149149

150150
/**
151-
* If where condition is set, beyond the value was empty (0, '', NULL, etc.),
152-
* Exception should not be thrown because condition was explicitly set
151+
* If where condition is set, even if the value is empty (0, NULL, etc.),
152+
* Exception should not be thrown because condition is explicitly set.
153153
*
154154
* @dataProvider emptyPkValues
155155
*
@@ -203,7 +203,6 @@ public static function emptyPkValues(): iterable
203203
[0],
204204
[null],
205205
['0'],
206-
[''],
207206
];
208207
}
209208

0 commit comments

Comments
 (0)