Skip to content

Commit 0254bfb

Browse files
committed
fix(php-validation): fix usage
1 parent f615c9a commit 0254bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ParameterizedTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected function setUp()
1919
*/
2020
public function testAdd($params, $rules)
2121
{
22-
$this->validator->validate(['myInput' => 'string'], ['myInput' => 'my string']); // giving a string value
22+
$this->validator->validate($params, $rules); // giving a string value
2323
$this->assertTrue($this->validator->passes());
2424
}
2525

0 commit comments

Comments
 (0)