Skip to content

Commit

Permalink
fixed test for related count.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Jan 29, 2024
1 parent 870f6ff commit 78a1935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/web/handler/resource_related_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))

}

Expand Down

0 comments on commit 78a1935

Please sign in to comment.