Thanks to visit codestin.com Credit goes to github.com
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 5c532bf commit 25ef030Copy full SHA for 25ef030
tests/Validation/ValidationAnyOfRuleTest.php
@@ -253,11 +253,11 @@ public function testNestedValidation()
253
$this->assertFalse($validator->passes());
254
255
$validator = new Validator(resolve('translator'), [
256
- 'p3_shouldnt_be_a_string' => ['p1' => [
+ 'p3_is_required_whatever_it_may_be' => ['p1' => [
257
'p2' => 'a_valid_string',
258
- 'p3' => 'shouldnt_be_a_string',
+ 'p3' => 'is_required_whatever_it_may_be',
259
]],
260
- ], ['p3_shouldnt_be_a_string' => Rule::anyOf($this->nestedRules)]);
+ ], ['p3_is_required_whatever_it_may_be' => Rule::anyOf($this->nestedRules)]);
261
$this->assertTrue($validator->passes());
262
263
0 commit comments