summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/Loader_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codeigniter/core/Loader_test.php')
-rw-r--r--tests/codeigniter/core/Loader_test.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/codeigniter/core/Loader_test.php b/tests/codeigniter/core/Loader_test.php
index fd9c63216..c7085c439 100644
--- a/tests/codeigniter/core/Loader_test.php
+++ b/tests/codeigniter/core/Loader_test.php
@@ -1,6 +1,6 @@
<?php
-class Loader_test extends CodeIgniterTestCase {
+class Loader_test extends CI_TestCase {
private $ci_obj;
@@ -14,7 +14,6 @@ class Loader_test extends CodeIgniterTestCase {
$this->ci_obj = new StdClass;
// Fix get_instance()
- CodeIgniterTestCase::$test_instance =& $this;
$this->ci_instance($this->ci_obj);
}
@@ -30,7 +29,7 @@ class Loader_test extends CodeIgniterTestCase {
->will($this->returnValue(TRUE));
// Add the mock to our stdClass
- $this->ci_set_instance_var('config', $config);
+ $this->ci_instance_var('config', $config);
// Test loading as an array.
$this->assertEquals(NULL, $this->_loader->library(array('table')));