Fix StringTest
This commit is contained in:
parent
d55ecb9288
commit
8f0afa6399
1 changed files with 3 additions and 3 deletions
|
@ -125,12 +125,12 @@ class StringsTest extends TestCase
|
|||
/**
|
||||
* Tests if the string is a valid hexadecimal value
|
||||
*
|
||||
* @param string $input
|
||||
* @param bool $valid
|
||||
* @param string|null $input
|
||||
* @param bool $valid
|
||||
*
|
||||
* @dataProvider dataIsHex
|
||||
*/
|
||||
public function testIsHex(string $input, bool $valid)
|
||||
public function testIsHex(string $input = null, bool $valid = false)
|
||||
{
|
||||
self::assertEquals($valid, Strings::isHex($input));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue