Browse Source

Fix for boulder not returning http status no content for post as get to newnonce url

master
Isaac 2 years ago
parent
commit
6463e07f61
  1. 2
      acme_test.go

2
acme_test.go

@ -115,7 +115,7 @@ func TestClient_Fetch(t *testing.T) {
t.Errorf("error post-as-get directory url: %v", err)
}
if err := testClient.Fetch(account, testClient.Directory().NewNonce, &b, http.StatusNoContent); err != nil {
if err := testClient.Fetch(account, testClient.Directory().NewNonce, &b, http.StatusNoContent, http.StatusOK); err != nil {
t.Errorf("error post-as-get newnonce url: %v", err)
}
}

Loading…
Cancel
Save