How make fake test to work |
Hello everyone! I having a bad time trying to use the new fake testing helper.
Here is my model: PHP Code: <?php namespace App\Models; Here is my controller: PHP Code: <?php namespace App\Controllers; The result is ![]() CodeIgniter\Database\Exceptions\DataException There is no data to insert. What am I doing wrong? Thank you!
Lonnie created a video that you can watch on using it.
See the forums News & Discussion. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Check this thread. https://forum.codeigniter.com/thread-77071.html
Website: marcomonteiro.net | Blog: blog.marcomonteiro.net | Twitter: @marcogmonteiro | TILThings: tilthings.com
OK. Seems like it do not works with custom Entities.
Here is the Entity: PHP Code: <?php namespace App\Models; Now my question is: is this the expected behavior? Thank you!
|
Welcome Guest, Not a member yet? Register Sign In |