Remove a few empty 'mock' classes
diff --git a/tests/codeigniter/core/Benchmark_test.php b/tests/codeigniter/core/Benchmark_test.php
index 7fd0727..63b0e3d 100644
--- a/tests/codeigniter/core/Benchmark_test.php
+++ b/tests/codeigniter/core/Benchmark_test.php
@@ -4,7 +4,7 @@
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 3755cf1..2a23487 100644
--- a/tests/codeigniter/libraries/Parser_test.php
+++ b/tests/codeigniter/libraries/Parser_test.php
@@ -4,7 +4,7 @@
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 5dba062..e6ee7b0 100644
--- a/tests/codeigniter/libraries/Typography_test.php
+++ b/tests/codeigniter/libraries/Typography_test.php
@@ -4,7 +4,7 @@
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 4d9e4a4..a953d83 100644
--- a/tests/codeigniter/libraries/Upload_test.php
+++ b/tests/codeigniter/libraries/Upload_test.php
@@ -5,7 +5,7 @@
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 aed38b8..c02f2bd 100644
--- a/tests/codeigniter/libraries/Useragent_test.php
+++ b/tests/codeigniter/libraries/Useragent_test.php
@@ -11,7 +11,7 @@
$_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);
}
diff --git a/tests/mocks/core/benchmark.php b/tests/mocks/core/benchmark.php
deleted file mode 100644
index d92be21..0000000
--- a/tests/mocks/core/benchmark.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class Mock_Core_Benchmark extends CI_Benchmark {}
\ No newline at end of file
diff --git a/tests/mocks/database/db/driver.php b/tests/mocks/database/db/driver.php
index 2cf54b9..86f7efd 100644
--- a/tests/mocks/database/db/driver.php
+++ b/tests/mocks/database/db/driver.php
@@ -37,4 +37,4 @@
}
-class CI_DB extends Mock_Database_DB_QueryBuilder {}
\ No newline at end of file
+class CI_DB extends CI_DB_query_builder {}
\ No newline at end of file
diff --git a/tests/mocks/database/db/querybuilder.php b/tests/mocks/database/db/querybuilder.php
deleted file mode 100644
index 3f22526..0000000
--- a/tests/mocks/database/db/querybuilder.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class Mock_Database_DB_QueryBuilder extends CI_DB_query_builder {}
\ No newline at end of file
diff --git a/tests/mocks/libraries/parser.php b/tests/mocks/libraries/parser.php
deleted file mode 100644
index 81dcfb3..0000000
--- a/tests/mocks/libraries/parser.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class Mock_Libraries_Parser extends CI_Parser {}
\ No newline at end of file
diff --git a/tests/mocks/libraries/typography.php b/tests/mocks/libraries/typography.php
deleted file mode 100644
index 0f76c57..0000000
--- a/tests/mocks/libraries/typography.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class Mock_Libraries_Typography extends CI_Typography {}
\ No newline at end of file
diff --git a/tests/mocks/libraries/upload.php b/tests/mocks/libraries/upload.php
deleted file mode 100644
index 988723e..0000000
--- a/tests/mocks/libraries/upload.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class Mock_Libraries_Upload extends CI_Upload {}
\ No newline at end of file
diff --git a/tests/mocks/libraries/useragent.php b/tests/mocks/libraries/useragent.php
deleted file mode 100644
index c957cde..0000000
--- a/tests/mocks/libraries/useragent.php
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-class Mock_Libraries_UserAgent extends CI_User_agent {}
\ No newline at end of file