Raised CI_Loader test coverage to 93%
Signed-off-by: dchill42 <dchill42@gmail.com>
diff --git a/tests/mocks/ci_testconfig.php b/tests/mocks/ci_testconfig.php
index eb318dd..0c52bb9 100644
--- a/tests/mocks/ci_testconfig.php
+++ b/tests/mocks/ci_testconfig.php
@@ -4,14 +4,16 @@
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;
}