mevlutozdemir's avatar

Laravel unit testing with sqlite database

Hello, I've followed this video: https://laracasts.com/series/lets-build-a-forum-with-laravel/episodes/2

To setup a sqlite database connection for my unit tests. But it keeps failing when I'm running the tests.

Error: "No such column email"

I've removed the email column from a database table with doctrine, think that's the issue. (it works when I set the db_connection to mysql).

Anyone knows how to solve it ?

Thankyou.

0 likes
1 reply
Organizm238's avatar

Show us your test that fails please. And the code of method that you are testing.

Please or to participate in this conversation.