tzookb's avatar

laravel database and eloquent connection

this question is for the masters of laravel DB and eloquent objects. In a brief I use for tests a sqlite in memory DB, so I create the laravel DB but than the eloquent objects dont use the same connection.

This is for my laravel messaging package, you could view the files in my github: https://github.com/tzookb/tbmsg/tree/dev/tests

and here is my stackoverflow question with a bit more explenation: http://stackoverflow.com/questions/27786967/phpunit-testing-with-sqlite-and-laravel-eloquent

0 likes
0 replies

Please or to participate in this conversation.