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 964fe71 commit 512f253Copy full SHA for 512f253
tests/system/Validation/ValidationTest.php
@@ -472,7 +472,7 @@ public function testRunWithCustomErrorsAndAsteriskField(): void
472
'foo' => [
473
['bar' => null],
474
475
- ]
+ ],
476
];
477
$this->validation->setRules(
478
['foo.*.bar' => ['label' => 'foo bar', 'rules' => 'required']],
@@ -481,7 +481,7 @@ public function testRunWithCustomErrorsAndAsteriskField(): void
481
$this->validation->run($data);
482
$this->assertSame([
483
'foo.0.bar' => 'Required',
484
- 'foo.1.bar' => 'Required'
+ 'foo.1.bar' => 'Required',
485
], $this->validation->getErrors());
486
}
487
0 commit comments