diff options
author | Andrey Andreev <narf@devilix.net> | 2017-03-06 13:39:28 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2017-03-06 13:39:28 +0100 |
commit | 356bc66ebcd6a4d48c28fd119233e9d0bb12375f (patch) | |
tree | c47cac8609dc7f5fc19b7d5f5dd783990c7db9c0 /tests/mocks | |
parent | 618870f9f70148944599c1db64babec09e7424bc (diff) |
Fix #5044; add unit tests for img() HTML helper
Diffstat (limited to 'tests/mocks')
-rw-r--r-- | tests/mocks/ci_testconfig.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/mocks/ci_testconfig.php b/tests/mocks/ci_testconfig.php index f80adc5d4..afdb71001 100644 --- a/tests/mocks/ci_testconfig.php +++ b/tests/mocks/ci_testconfig.php @@ -1,20 +1,20 @@ <?php -class CI_TestConfig { +class CI_TestConfig extends CI_Config { public $config = array(); public $_config_paths = array(APPPATH); public $loaded = array(); - public function item($key) + public function item($key, $index = '') { return isset($this->config[$key]) ? $this->config[$key] : FALSE; } - public function load($file, $arg2 = FALSE, $arg3 = FALSE) + public function load($file = '', $use_sections = FALSE, $fail_gracefully = FALSE) { $this->loaded[] = $file; return TRUE; } -}
\ No newline at end of file +} |