I have the following scenario there is an existing database which was migrated to laravel like creating the models which are related to the application from the exiting table structure. All works acceptable.
Now I want to make some unit tests. The idea behind: I created a testing database as truncating the existing database tables. I have migrations which are creating new tables or extending the actual structure. Now when I try to run my phpunit tests I get the following error
check the manual that corresponds to your MariaDB server version for the right syntax to use near 'PRAGMA foreign_keys=1
How can I suppress this kind of error?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2rBSNtU
via IFTTT
Aucun commentaire:
Enregistrer un commentaire