summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-10 12:55:55 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-10 12:55:55 +0200
commit36de42e4a6c1ef552be8b7b3cb0fb86a4363c7d6 (patch)
treeded1c998f138dd6d8ac0dfa5f11b5126fe694075 /tests
parent62fd52d3cfeea4a2ec73ac5b943e84eeb38953d2 (diff)
Revert a change in tests/mocks/core/common.php
Diffstat (limited to 'tests')
-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;
}
}