From 3d4f74f9d070cca6d11ea3ef7c991c4cdb2e644e Mon Sep 17 00:00:00 2001 From: aliraza556 Date: Tue, 25 Jun 2024 05:37:18 +0500 Subject: [PATCH] Fixed unrelated UT TestGetBot --- handlers/bots_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/handlers/bots_test.go b/handlers/bots_test.go index 3544628bd..2a145eb1a 100644 --- a/handlers/bots_test.go +++ b/handlers/bots_test.go @@ -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) })