blob: 61d5350b6ac562f80369549d6dd15d439a718024 [file] [log] [blame]
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Loads and instantiates unit testing class
*
* @access private called by the app controller
*/
if ( ! class_exists('CI_Unit_test'))
{
require_once(BASEPATH.'libraries/Unit_test'.EXT);
}
$obj =& get_instance();
$obj->unit = new CI_Unit_test();
$obj->ci_is_loaded[] = 'unit';
?>