Skip to content

Commit 5b742a7

Browse files
committed
fix test
1 parent 4167bc0 commit 5b742a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/openapi/handler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func TestResolveEndpoint(t *testing.T) {
130130
h(rr, r)
131131
require.Equal(t, http.StatusMethodNotAllowed, rr.Code)
132132
require.Equal(t, "GET", rr.Header().Get("Allow"))
133-
require.Equal(t, "Method POST not defined in specification for path /foo\n", rr.Body.String())
133+
require.Equal(t, "Method POST not defined for path /foo\n", rr.Body.String())
134134
},
135135
},
136136
{

0 commit comments

Comments
 (0)