mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-19 06:49:50 +01:00
removed a leftover variable on rgbColor
This commit is contained in:
parent
6f7f40693c
commit
ec0566a352
@ -143,7 +143,7 @@ class BaseTest extends \PHPUnit_Framework_TestCase
|
||||
public function testRgbColor()
|
||||
{
|
||||
$faker = Faker\Factory::create();
|
||||
$color = $faker->rgbColor(false);
|
||||
$color = $faker->rgbColor();
|
||||
$regexp = '([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])';
|
||||
$this->assertRegExp('/^' . $regexp . ',' . $regexp . ',' . $regexp . '$/i', $color);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user