From 78a1935d13641d2968b742bbe3b4397d65ebf44d Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Mon, 29 Jan 2024 14:23:49 -0800 Subject: [PATCH] fixed test for related count. --- backend/pkg/web/handler/resource_related_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/pkg/web/handler/resource_related_test.go b/backend/pkg/web/handler/resource_related_test.go index 944b20a8..a215f4dc 100644 --- a/backend/pkg/web/handler/resource_related_test.go +++ b/backend/pkg/web/handler/resource_related_test.go @@ -111,7 +111,7 @@ func (suite *ResourceRelatedHandlerTestSuite) TestResourceRelatedHandlerTestSuit //assert assert.EqualValues(suite.T(), http.StatusOK, w.Code) - assert.Equal(suite.T(), summary["TotalResources"], 3) + assert.Equal(suite.T(), summary["TotalResources"], float64(3)) }