1
0
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:
lsv 2013-06-17 00:25:48 +02:00
parent 6f7f40693c
commit ec0566a352

View File

@ -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);
}