Posts by Leonardo Cavalcante • 36 points
1 post
-
2
votes1
answer89
viewsA: How to delete all Mongodb Collections in Laravel
One option is to delete the database on tearDown, using even Mongo commands, for example DB::command(['dropDatabase' => 1]); It is possible to put this in a trait, similar to the RefreshDatabases…