(t *testing.T)
| 108 | } |
| 109 | |
| 110 | func TestDeleteDomainRequiresConfirm(t *testing.T) { |
| 111 | srv := testServer(t) |
| 112 | code, body := sendJSON(t, "DELETE", srv.URL+"/v1/domains/acme.com", "good", nil) |
| 113 | if code != 400 || errCode(body) != "confirmation_required" { |
| 114 | t.Fatalf("want 400 confirmation_required, got %d %v", code, body) |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | func TestDeleteDomainWithAgents(t *testing.T) { |
| 119 | srv := testServer(t) |
nothing calls this directly
no test coverage detected