Skip to content

Commit

Permalink
chore: fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ubogdan committed Apr 16, 2022
1 parent 9b0e1cb commit 2742c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swagger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (s *mockedSwag) ReadDoc() string {
func TestWrapHandler(t *testing.T) {
router := echo.New()

router.GET("/*", EchoWrapHandler(DocExpansion("none"), DomID("#swagger-ui")))
router.Any("/*", EchoWrapHandler(DocExpansion("none"), DomID("#swagger-ui")))

w1 := performRequest(http.MethodGet, "/index.html", router)
assert.Equal(t, http.StatusOK, w1.Code)
Expand Down

0 comments on commit 2742c2d

Please sign in to comment.