Skip to content

Commit

Permalink
Improve userFunction unit test for _n mock
Browse files Browse the repository at this point in the history
  • Loading branch information
unfulvio-godaddy committed Sep 23, 2022
1 parent 9bf36c3 commit 45dd625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/FunctionMocksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function testCommonFunctionsDefaultFunctionality( $function, $action ) {
}

if ('_n' === $function) {
$this->assertEquals($expected, call_user_func($function, $input, 'foo', 'bar', 'baz'));
$this->assertEquals($expected, call_user_func($function, $input, 'foo', 1, 'bar'));
} else {
$this->assertEquals($expected, call_user_func($function, $input));
}
Expand Down

0 comments on commit 45dd625

Please sign in to comment.