Add a case where the translation string is not found. re #96
This commit is contained in:
parent
9b592b863d
commit
504b717fb8
|
@ -15,6 +15,8 @@ class BaseTest extends PHPUnit_Framework_TestCase
|
||||||
public function testLocalize ()
|
public function testLocalize ()
|
||||||
{
|
{
|
||||||
$this->assertEquals ("Authors", localize ("authors.title"));
|
$this->assertEquals ("Authors", localize ("authors.title"));
|
||||||
|
|
||||||
|
$this->assertEquals ("unknow.key", localize ("unknow.key"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testLocalizeFr ()
|
public function testLocalizeFr ()
|
||||||
|
|
Loading…
Reference in a new issue