Skip to content

Commit

Permalink
fix: e2e error
Browse files Browse the repository at this point in the history
  • Loading branch information
mscb402 committed Feb 10, 2023
1 parent 7b060c9 commit 5e41893
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/test/e2e/route/route_with_plugin_jwt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,13 @@ var _ = Describe("route with jwt plugin", func() {
Headers: map[string]string{"Authorization": base.GetToken()},
ExpectStatus: http.StatusOK,
}),
Entry("delete the route", base.HttpTestCase{
Object: base.ManagerApiExpect(),
Method: http.MethodDelete,
Path: "/apisix/admin/routes/jwt-sign",
Headers: map[string]string{"Authorization": base.GetToken()},
ExpectStatus: http.StatusOK,
}),
Entry("verify the deleted route", base.HttpTestCase{
Object: base.APISIXExpect(),
Method: http.MethodGet,
Expand Down

0 comments on commit 5e41893

Please sign in to comment.