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

Function TestGetDomainNotFound

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

Source from the content-addressed store, hash-verified

53}
54
55func TestGetDomainNotFound(t *testing.T) {
56 srv := testServer(t)
57 code, _ := getJSON(t, srv.URL+"/v1/domains/unknown.com", "good")
58 if code != 404 {
59 t.Fatalf("want 404, got %d", code)
60 }
61}
62
63func TestRegisterDomain(t *testing.T) {
64 srv := testServer(t)

Callers

nothing calls this directly

Calls 2

testServerFunction · 0.85
getJSONFunction · 0.85

Tested by

no test coverage detected