Skip to content

Commit

Permalink
Fixed unrelated UT TestGetBot
Browse files Browse the repository at this point in the history
  • Loading branch information
aliraza556 committed Jun 25, 2024
1 parent 997bb60 commit 3d4f74f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions handlers/bots_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,10 @@ func TestGetBot(t *testing.T) {
var returnedBot db.Bot
err = json.Unmarshal(rr.Body.Bytes(), &returnedBot)
assert.Equal(t, http.StatusOK, rr.Code)

returnedBot.Tsv = ""
fetchedBot.Tsv = ""

assert.Equal(t, bot, returnedBot)
assert.Equal(t, bot, fetchedBot)
})
Expand Down

0 comments on commit 3d4f74f

Please sign in to comment.