Add a case where the translation string is not found. re #96

This commit is contained in:
Sébastien Lucas 2013-10-15 08:31:12 +02:00
parent 9b592b863d
commit 504b717fb8

View file

@ -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 ()