Skip to content

Commit

Permalink
fix serve_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
myokoyama28 committed Mar 23, 2021
1 parent 9af9204 commit 6b41bfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/serve/serve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func TestServe(t *testing.T) {
expected[v1APIPath("newkey")] = http.StatusMethodNotAllowed
expected[v1APIPath("bundle")] = http.StatusMethodNotAllowed
expected[v1APIPath("certinfo")] = http.StatusMethodNotAllowed
expected[v1APIPath("certadd")] = http.StatusMethodNotAllowed

// POST-only endpoints should return '400 Bad Request'
expected[v1APIPath("scan")] = http.StatusBadRequest
Expand Down

0 comments on commit 6b41bfc

Please sign in to comment.