diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-20 15:42:16 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-20 15:42:16 +0100 |
commit | 10e7a32257b26c5609f4a745e3f80bde00da3a05 (patch) | |
tree | 9f2caf028dd9906b31ad31d8d2b2049943dab2c0 /tests/codeigniter | |
parent | f30b14ae7bb45948f0b8f6dc806dc6c59800fe56 (diff) |
Remove a few empty 'mock' classes
Diffstat (limited to 'tests/codeigniter')
-rw-r--r-- | tests/codeigniter/core/Benchmark_test.php | 2 | ||||
-rw-r--r-- | tests/codeigniter/libraries/Parser_test.php | 2 | ||||
-rw-r--r-- | tests/codeigniter/libraries/Typography_test.php | 2 | ||||
-rw-r--r-- | tests/codeigniter/libraries/Upload_test.php | 2 | ||||
-rw-r--r-- | tests/codeigniter/libraries/Useragent_test.php | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/codeigniter/core/Benchmark_test.php b/tests/codeigniter/core/Benchmark_test.php index 7fd0727e2..63b0e3d5a 100644 --- a/tests/codeigniter/core/Benchmark_test.php +++ b/tests/codeigniter/core/Benchmark_test.php @@ -4,7 +4,7 @@ class Benchmark_test extends CI_TestCase { public function set_up() { - $this->benchmark = new Mock_Core_Benchmark(); + $this->benchmark = new CI_Benchmark(); } // -------------------------------------------------------------------- diff --git a/tests/codeigniter/libraries/Parser_test.php b/tests/codeigniter/libraries/Parser_test.php index 3755cf1a0..2a2348793 100644 --- a/tests/codeigniter/libraries/Parser_test.php +++ b/tests/codeigniter/libraries/Parser_test.php @@ -4,7 +4,7 @@ class Parser_test extends CI_TestCase { public function set_up() { - $this->parser = new Mock_Libraries_Parser(); + $this->parser = new CI_Parser(); $this->ci_instance_var('parser', $this->parser); } diff --git a/tests/codeigniter/libraries/Typography_test.php b/tests/codeigniter/libraries/Typography_test.php index 5dba06243..e6ee7b05c 100644 --- a/tests/codeigniter/libraries/Typography_test.php +++ b/tests/codeigniter/libraries/Typography_test.php @@ -4,7 +4,7 @@ class Typography_test extends CI_TestCase { public function set_up() { - $this->type = new Mock_Libraries_Typography(); + $this->type = new CI_Typography(); $this->ci_instance('type', $this->type); } diff --git a/tests/codeigniter/libraries/Upload_test.php b/tests/codeigniter/libraries/Upload_test.php index 4d9e4a46e..a953d8329 100644 --- a/tests/codeigniter/libraries/Upload_test.php +++ b/tests/codeigniter/libraries/Upload_test.php @@ -5,7 +5,7 @@ class Upload_test extends CI_TestCase { function set_up() { $ci = $this->ci_instance(); - $ci->upload = new Mock_Libraries_Upload(); + $ci->upload = new CI_Upload(); $ci->security = new Mock_Core_Security(); $ci->lang = $this->getMock('CI_Lang', array('load', 'line')); $ci->lang->expects($this->any())->method('line')->will($this->returnValue(FALSE)); diff --git a/tests/codeigniter/libraries/Useragent_test.php b/tests/codeigniter/libraries/Useragent_test.php index aed38b8c2..c02f2bd9d 100644 --- a/tests/codeigniter/libraries/Useragent_test.php +++ b/tests/codeigniter/libraries/Useragent_test.php @@ -11,7 +11,7 @@ class UserAgent_test extends CI_TestCase { $_SERVER['HTTP_USER_AGENT'] = $this->_user_agent; $this->ci_vfs_clone('application/config/user_agents.php'); - $this->agent = new Mock_Libraries_UserAgent(); + $this->agent = new CI_User_agent(); $this->ci_instance_var('agent', $this->agent); } |