laracasts / TestDummy

Easy factories for PHP integration testing.
https://laracasts.com/lessons/whats-new-in-testdummy
MIT License
456 stars 80 forks source link

L5 Model not replaced by table name #33

Closed clevonnoel closed 10 years ago

clevonnoel commented 10 years ago

I am trying to implement TestDummy using L5 but it seems like the table name is replaced by the model. I maybe doing something wrong in my L5 implementation or this maybe a bug.

Illuminate\Database\QueryException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'homestead.App\Repositories\User\User' doesn't exist (SQL: select * from `App\Repositories\User\User` where `email` = test@example.com and `first_name` = Test Name and `last_name` = Last Name limit 1)