anvoz / CodeIgniter-Skeleton

A decent starter for most web apps. Includes HMVC, jQuery, Bootstrap, Bootstrap TLDR, Ajax and Template libraries. Unit tests with PHPUnit and vfsStream.
Other
157 stars 100 forks source link

How to get the CI Instance #15

Closed dashawk closed 10 years ago

dashawk commented 10 years ago

Hi,

I just tried loading my model and test some requests but I cannot get the CI Instance to work in the CI_TestCase.

How can I get the CI Instance?

Thanks

anvoz commented 10 years ago

Try get_instance(). You can find more information here: https://github.com/EllisLab/CodeIgniter/tree/develop/tests