testear controlador en CI
AUTOR PREGUNTA #1
-
¿Tienes la misma pregunta? Yo también
Esto también te interesa!
PREGUNTAS SIMILARES
#2
$CI =& get_instance();
$CI = load_class('Loader');
class testcontrolador extends CI_Loader
{
function __construct()
{
parent::__construct();
}
}
Luego lo testeas de la siguiente forma:
$this->load = new testcontrolador()