diff options
author | Andrey Andreev <narf@devilix.net> | 2016-12-14 17:14:35 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2016-12-14 17:14:35 +0100 |
commit | dcd6f5153b7e7e6d798d5a77af65b7460f152e5c (patch) | |
tree | 3f52a8b24fe55aeaf29f6cdb6dfa5b6e9f2ac095 /tests/codeigniter/libraries | |
parent | 24c866628d0ce5463d7e8b4eba512fa9e7752dfd (diff) |
Isolate CI_Security instantiation from CI_Input; improve tests
Diffstat (limited to 'tests/codeigniter/libraries')
-rw-r--r-- | tests/codeigniter/libraries/Form_validation_test.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/codeigniter/libraries/Form_validation_test.php b/tests/codeigniter/libraries/Form_validation_test.php index 4be080f90..5b7830dd8 100644 --- a/tests/codeigniter/libraries/Form_validation_test.php +++ b/tests/codeigniter/libraries/Form_validation_test.php @@ -13,10 +13,8 @@ class Form_validation_test extends CI_TestCase { // Same applies for lang $lang = $this->getMockBuilder('CI_Lang')->setMethods(array('load'))->getMock(); - $this->ci_set_config('charset', 'UTF-8'); - $utf8 = new Mock_Core_Utf8(); $security = new Mock_Core_Security(); - $input = new Mock_Core_Input($security, $utf8); + $input = new Mock_Core_Input($security); $this->ci_instance_var('lang', $lang); $this->ci_instance_var('load', $loader); |