We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f615c9a commit 0254bfbCopy full SHA for 0254bfb
tests/ParameterizedTest.php
@@ -19,7 +19,7 @@ protected function setUp()
19
*/
20
public function testAdd($params, $rules)
21
{
22
- $this->validator->validate(['myInput' => 'string'], ['myInput' => 'my string']); // giving a string value
+ $this->validator->validate($params, $rules); // giving a string value
23
$this->assertTrue($this->validator->passes());
24
}
25
0 commit comments