diff --git a/application/tests/_ci_phpunit_test/functions.php b/application/tests/_ci_phpunit_test/functions.php index d258b846..42094108 100644 --- a/application/tests/_ci_phpunit_test/functions.php +++ b/application/tests/_ci_phpunit_test/functions.php @@ -58,7 +58,7 @@ function reset_instance() CIPHPUnitTestSuperGlobal::set_Global('EXT', $EXT); $CFG =& load_class('Config', 'core'); CIPHPUnitTestSuperGlobal::set_Global('CFG', $CFG); - $UNI =& load_class('URI', 'core'); + $UNI =& load_class('URI', 'core', $CFG); CIPHPUnitTestSuperGlobal::set_Global('UNI', $UNI); // $URI =& load_class('Utf8', 'core'); // CIPHPUnitTestSuperGlobal::set_Global('URI', $URI); diff --git a/application/tests/_ci_phpunit_test/replacing/core/CodeIgniter.php b/application/tests/_ci_phpunit_test/replacing/core/CodeIgniter.php index cdf043e1..3250b567 100644 --- a/application/tests/_ci_phpunit_test/replacing/core/CodeIgniter.php +++ b/application/tests/_ci_phpunit_test/replacing/core/CodeIgniter.php @@ -302,7 +302,7 @@ * Instantiate the URI class * ------------------------------------------------------ */ - $URI =& load_class('URI', 'core'); + $URI =& load_class('URI', 'core', $CFG); CIPHPUnitTestSuperGlobal::set_Global('URI', $URI); /*