summaryrefslogtreecommitdiffstats
path: root/tests/mocks/core
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mocks/core')
-rw-r--r--tests/mocks/core/common.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mocks/core/common.php b/tests/mocks/core/common.php
index 8466e47f8..55506a1f6 100644
--- a/tests/mocks/core/common.php
+++ b/tests/mocks/core/common.php
@@ -18,7 +18,8 @@ if ( ! function_exists('get_config'))
function &get_config()
{
$test = CI_TestCase::instance();
- return $test->ci_get_config();
+ $config = $test->ci_get_config();
+ return $config;
}
}