Skip to content

Commit

Permalink
test(unit): added a short unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
RSickenberg committed Apr 1, 2022
1 parent 7d341ce commit 9cd51d8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/Faker/Provider/fr_FR/ColorTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace Faker\Test\Provider\fr_FR;

use Faker\Provider\fr_FR\Color;
use Faker\Test\TestCase;

/**
* @group legacy
*/
final class ColorTest extends TestCase
{
public function testColor()
{
$color = $this->faker->colorName();
self::assertIsString($color);
}

protected function getProviders(): iterable
{
yield new Color($this->faker);
}
}

0 comments on commit 9cd51d8

Please sign in to comment.