Skip to content

Commit 16736fd

Browse files
committed
test: add missing test data
1 parent 69b2f46 commit 16736fd

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

tests/system/Validation/FormatRulesTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,11 @@ public function urlProvider(): Generator
216216
false,
217217
false,
218218
],
219+
[
220+
"http://www.codeigniter.com\n",
221+
false,
222+
false,
223+
],
219224
];
220225
}
221226

tests/system/Validation/StrictRules/FormatRulesTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,11 @@ public function testValidDate(?string $str, ?string $format, bool $expected): vo
12101210
public function validDateProvider(): Generator
12111211
{
12121212
yield from [
1213+
[
1214+
null,
1215+
'Y-m-d',
1216+
false,
1217+
],
12131218
[
12141219
'Sun',
12151220
'D',

0 commit comments

Comments
 (0)