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



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2V19EUp
via IFTTT

Aucun commentaire:

Enregistrer un commentaire