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 55506a1f6..a655ee1db 100644
--- a/tests/mocks/core/common.php
+++ b/tests/mocks/core/common.php
@@ -7,7 +7,8 @@ if ( ! function_exists('get_instance'))
function &get_instance()
{
$test = CI_TestCase::instance();
- return $test->ci_instance();
+ $test = $test->ci_instance();
+ return $test;
}
}