Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25ef030

Browse files
committed
1 parent 5c532bf commit 25ef030

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Validation/ValidationAnyOfRuleTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,11 @@ public function testNestedValidation()
253253
$this->assertFalse($validator->passes());
254254

255255
$validator = new Validator(resolve('translator'), [
256-
'p3_shouldnt_be_a_string' => ['p1' => [
256+
'p3_is_required_whatever_it_may_be' => ['p1' => [
257257
'p2' => 'a_valid_string',
258-
'p3' => 'shouldnt_be_a_string',
258+
'p3' => 'is_required_whatever_it_may_be',
259259
]],
260-
], ['p3_shouldnt_be_a_string' => Rule::anyOf($this->nestedRules)]);
260+
], ['p3_is_required_whatever_it_may_be' => Rule::anyOf($this->nestedRules)]);
261261
$this->assertTrue($validator->passes());
262262

263263
$validator = new Validator(resolve('translator'), [

0 commit comments

Comments
 (0)