General Error : 1 no such table Exists

Posted 4 months ago by BishoyWagih

why i see this error when running phpunit test

1) Tests\Feature\Item\ItemTest::it_can_see_items
Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 1 no such       
   table: categories (SQL: insert into"categories" ("code", "name", "updated_at", 
  "created_at") values (94, Ea consectetur et voluptates velit., 2018-06-23 21:06:06, 
  2018-06-23 21:06:06))

when i see sqlite as database Testing..

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.