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

Function TestVerifyDomainSuccess

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

Source from the content-addressed store, hash-verified

165}
166
167func TestVerifyDomainSuccess(t *testing.T) {
168 srv := testServer(t)
169 code, body := postJSON(t, srv.URL+"/v1/domains/fresh.com/verify", "good", nil)
170 if code != 200 || body["verified"] != true {
171 t.Fatalf("want 200 verified, got %d %v", code, body)
172 }
173}
174
175func TestVerifyDomainNotFound(t *testing.T) {
176 srv := testServer(t)

Callers

nothing calls this directly

Calls 2

testServerFunction · 0.85
postJSONFunction · 0.85

Tested by

no test coverage detected