MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / TestDeleteDomainNotFound

Function TestDeleteDomainNotFound

internal/httpapi/domains_test.go:126–132  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

124}
125
126func TestDeleteDomainNotFound(t *testing.T) {
127 srv := testServer(t)
128 code, _ := sendJSON(t, "DELETE", srv.URL+"/v1/domains/unknown.com?confirm=DELETE", "good", nil)
129 if code != 404 {
130 t.Fatalf("want 404, got %d", code)
131 }
132}
133
134func TestVerifyDomainAlreadyVerified(t *testing.T) {
135 srv := testServer(t)

Callers

nothing calls this directly

Calls 2

testServerFunction · 0.85
sendJSONFunction · 0.85

Tested by

no test coverage detected