Add a case where the translation string is not found. re #96
This commit is contained in:
父節點
9b592b863d
當前提交
504b717fb8
共有 1 個文件被更改,包括 2 次插入 和 0 次删除
|
@ -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 ()
|
||||||
|
|
載入中…
Add table
Add a link
Reference in a new issue