samedi 30 mars 2019

test laravel database with existsing real data

I have a huge database and using laravel for my web application. and migrate old data to the new data

I want to write unit test for my application I need to test the real database with real data and factory make some fake data and insert theme to the real database and I need to remove them. I use DatabaseTransactions trait but this is not working

I need after test remove all the fake data that inserted in the database



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire