test(phpunit): Improve locale-related tests

This commit is contained in:
Pierre Rudloff 2019-04-20 12:17:52 +02:00
parent 0283ef6928
commit f4654c7229
2 changed files with 14 additions and 5 deletions

View file

@ -77,4 +77,14 @@ class LocaleTest extends TestCase
{
$this->assertEquals('fr', $this->localeObject->getIso3166());
}
/**
* Test the getCountry function.
*
* @return void
*/
public function testGetCountry()
{
$this->assertEquals(country('fr'), $this->localeObject->getCountry());
}
}