summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/Loader_test.php
diff options
context:
space:
mode:
authorPascal Kriete <pascal.kriete@ellislab.com>2011-04-21 07:00:27 +0200
committerPascal Kriete <pascal.kriete@ellislab.com>2011-04-21 07:00:27 +0200
commit10ba64f9b76a25a77182d72a0a09413ccba12770 (patch)
treea92ea1e0a5d8553f14e7156dc7ba81d0c0ca5e9a /tests/codeigniter/core/Loader_test.php
parentfe372e30a8f05ec4a77dc9a5ea2ec471b3488bd3 (diff)
Renamed the main test class, fixing test cases.
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')));