test(phpunit): Improve locale-related tests
This commit is contained in:
parent
0283ef6928
commit
f4654c7229
2 changed files with 14 additions and 5 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue