Skip to content

Commit

Permalink
Add styleci recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
DanteB918 committed Aug 11, 2024
1 parent 248fb0e commit 33e984f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Validation/ValidationValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -994,13 +994,13 @@ public function testCustomValidationIsAppendedToMessages()
$validator = new Validator($trans,
['foo' => true],
['foo' => function (string $attribute, mixed $value, \Closure $fail) {
$fail(":attribute must be false");
}
$fail(":attribute must be false");
},
], ['foo' => ['required' => 'Foo is required']]);

$this->assertFalse($validator->passes());
$this->assertEquals($validator->errors()->messages(), [
'foo' => ['foo must be false']
'foo' => ['foo must be false'],
]);
}

Expand Down

0 comments on commit 33e984f

Please sign in to comment.