jeudi 31 janvier 2019

Separate Redis database for testing in Laravel

I'm using Redis to store user-defined config for my Laravel app. I want to know how can I separate the Redis database is being used while testing from the one that is going to be used in for production? That's because I need to flush Redis before each test case and I don't want this to touch my data in main (production) Redis database.



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2MFadjg
via IFTTT

Aucun commentaire:

Enregistrer un commentaire