Skip to content

Commit

Permalink
Fix CI_URI::__construct()
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyao committed Oct 5, 2016
1 parent 3255d61 commit 53c750b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/tests/_ci_phpunit_test/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
* Instantiate the URI class
* ------------------------------------------------------
*/
$URI =& load_class('URI', 'core');
$URI =& load_class('URI', 'core', $CFG);
CIPHPUnitTestSuperGlobal::set_Global('URI', $URI);

/*
Expand Down

0 comments on commit 53c750b

Please sign in to comment.