OSDN Git Service

- reset client encoding to UTF-8 when test case finished for other tests.
authormumumu-org <mumumu-org@2ef88817-412d-0410-a32c-8029a115e976>
Sun, 4 Jan 2009 16:32:39 +0000 (16:32 +0000)
committermumumu-org <mumumu-org@2ef88817-412d-0410-a32c-8029a115e976>
Sun, 4 Jan 2009 16:32:39 +0000 (16:32 +0000)
test/Ethna_SmartyPlugin_Test.php

index f4c1e0a..1ddd99f 100644 (file)
@@ -17,6 +17,12 @@ require_once ETHNA_BASE . '/class/Ethna_SmartyPlugin.php';
  */
 class Ethna_SmartyPlugin_Test extends Ethna_UnitTestBase
 {
+    function tearDown()
+    {
+        $ctl =& new Ethna_Controller();
+        $ctl->setClientEncoding('UTF-8');
+    }
+
     // {{{ test_smarty_function_select
     function test_smarty_function_select()
     {