Commit 9fe1e308 authored by Geoff Simmons's avatar Geoff Simmons

Minor copy pasta bugfix in testing.

parent 0b32f49e
......@@ -711,7 +711,7 @@ func TestGetPem(t *testing.T) {
hndlr.ServeHTTP(rr, req)
if rr.Code != http.StatusNotImplemented {
t.Errorf("%s /v1/pems/ns/name status: got %d want %d",
method, rr.Code, http.StatusMethodNotAllowed)
method, rr.Code, http.StatusNotImplemented)
}
if rr.Result().Header.Get("Content-Length") != "0" {
t.Errorf("%s /v1/pems/ns/name Content-Length: "+
......@@ -794,7 +794,7 @@ func TestAllPem(t *testing.T) {
hndlr.ServeHTTP(rr, req)
if rr.Code != http.StatusNotImplemented {
t.Errorf("%s /v1/pems status: got %d want %d",
method, rr.Code, http.StatusMethodNotAllowed)
method, rr.Code, http.StatusNotImplemented)
}
if rr.Result().Header.Get("Content-Length") != "0" {
t.Errorf("%s /v1/pems Content-Length: got %s want 0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment