Skip to content

Commit

Permalink
test(api): register route func interface
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Aug 30, 2020
1 parent 09e1a5a commit 4f41f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func performRequest(r http.Handler, method, path string) (*httptest.ResponseReco
func TestApi(t *testing.T) {
assert := assertTest.New(t)
r = gin.Default()
r = RegisterRoutes(r, 3000)
r = RegisterRoutes(r, 3000, false)

t.Run("GET /health", func(t *testing.T) {
res, err := performRequest(r, "GET", "/health")
Expand Down

0 comments on commit 4f41f83

Please sign in to comment.