From 504b717fb8f73753a49294385a67d9da1cc2f04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Tue, 15 Oct 2013 08:31:12 +0200 Subject: [PATCH] Add a case where the translation string is not found. re #96 --- test/baseTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/baseTest.php b/test/baseTest.php index 7b37b48..ca6480f 100644 --- a/test/baseTest.php +++ b/test/baseTest.php @@ -15,6 +15,8 @@ class BaseTest extends PHPUnit_Framework_TestCase public function testLocalize () { $this->assertEquals ("Authors", localize ("authors.title")); + + $this->assertEquals ("unknow.key", localize ("unknow.key")); } public function testLocalizeFr ()