diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-20 16:51:41 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-20 16:51:41 +0100 |
commit | bb3edf12d0ca82c62f7b7d570108375ec4379749 (patch) | |
tree | 8be304b5b58b42698bfaf37e6dd19a451a19fa96 /tests/codeigniter/core/Input_test.php | |
parent | 10e7a32257b26c5609f4a745e3f80bde00da3a05 (diff) |
CI_Utf8-related changes
- Give priority to mb_convert_encoding() over iconv() in clean_string() (partially fixes #261)
- Add more proper unit tests
Diffstat (limited to 'tests/codeigniter/core/Input_test.php')
-rw-r--r-- | tests/codeigniter/core/Input_test.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/codeigniter/core/Input_test.php b/tests/codeigniter/core/Input_test.php index 95833fc91..21ff6d81f 100644 --- a/tests/codeigniter/core/Input_test.php +++ b/tests/codeigniter/core/Input_test.php @@ -13,6 +13,8 @@ class Input_test extends CI_TestCase { $this->ci_set_config('csrf_protection', FALSE); $security = new Mock_Core_Security(); + + $this->ci_set_config('charset', 'UTF-8'); $utf8 = new Mock_Core_Utf8(); $this->input = new Mock_Core_Input($security, $utf8); |