summaryrefslogtreecommitdiffstats
path: root/tests/mocks/ci_testconfig.php
diff options
context:
space:
mode:
authordchill42 <dchill42@gmail.com>2012-10-22 03:31:19 +0200
committerdchill42 <dchill42@gmail.com>2012-10-22 03:31:19 +0200
commit4f42be55dc5ca3141f3d93f7f59989d3e52bc5a3 (patch)
tree91105470a75942908114e79df84ebd7a0c779e34 /tests/mocks/ci_testconfig.php
parentb1aad96fa4842cc1615ce0f43c720586070d2c67 (diff)
Raised CI_Loader test coverage to 93%
Signed-off-by: dchill42 <dchill42@gmail.com>
Diffstat (limited to 'tests/mocks/ci_testconfig.php')
-rw-r--r--tests/mocks/ci_testconfig.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mocks/ci_testconfig.php b/tests/mocks/ci_testconfig.php
index eb318ddeb..0c52bb984 100644
--- a/tests/mocks/ci_testconfig.php
+++ b/tests/mocks/ci_testconfig.php
@@ -4,14 +4,16 @@ class CI_TestConfig {
public $config = array();
public $_config_paths = array(APPPATH);
+ public $loaded = array();
public function item($key)
{
return isset($this->config[$key]) ? $this->config[$key] : FALSE;
}
- public function load($arg1, $arg2, $arg3)
+ public function load($file, $arg2 = FALSE, $arg3 = FALSE)
{
+ $this->loaded[] = $file;
return TRUE;
}