Skip to content

Commit

Permalink
feat: updated test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Jun 7, 2024
1 parent 0345917 commit 2f2fd73
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion models/service/base_service_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ func setupTestDB() {

func teardownTestDB() {
db := mongo.GetMongoDb("testdb")
db.Drop(context.Background())
err := db.Drop(context.Background())
if err != nil {
return
}
}

func TestModelServiceV2_GetById(t *testing.T) {
Expand Down

0 comments on commit 2f2fd73

Please sign in to comment.