summaryrefslogtreecommitdiffstats
path: root/tests/mocks/core/uri.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mocks/core/uri.php')
-rw-r--r--tests/mocks/core/uri.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/mocks/core/uri.php b/tests/mocks/core/uri.php
deleted file mode 100644
index b6946091e..000000000
--- a/tests/mocks/core/uri.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-class Mock_Core_URI extends CI_URI {
-
- public function __construct()
- {
- $test = CI_TestCase::instance();
- $cls =& $test->ci_core_class('cfg');
-
- // set predictable config values
- $test->ci_set_config(array(
- 'index_page' => 'index.php',
- 'base_url' => 'http://example.com/',
- 'subclass_prefix' => 'MY_'
- ));
-
- $this->config = new $cls;
-
- }
-
- protected function _is_cli_request()
- {
- return FALSE;
- }
-} \ No newline at end of file