Skip to content

Commit

Permalink
fix main test
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlettmiss committed Apr 29, 2024
1 parent a965256 commit b81193b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/cmd/server/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ func TestUser(t *testing.T) {
var result bson.M
err = client.Database("admin").RunCommand(context.TODO(), bson.D{{"ping", 1}}).Decode(&result)
assert.Nil(t, err)
if err != nil {
panic(err)
}

fmt.Println("Pinged your deployment. You successfully connected to MongoDB!")

Expand Down

0 comments on commit b81193b

Please sign in to comment.