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

Function TestGetConversationNotFound

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

Source from the content-addressed store, hash-verified

47}
48
49func TestGetConversationNotFound(t *testing.T) {
50 srv := testServer(t)
51 code, _ := getJSON(t, srv.URL+"/v1/agents/support%40acme.com/conversations/conv_missing", "good")
52 if code != 404 {
53 t.Fatalf("want 404, got %d", code)
54 }
55}
56
57func TestGetConversationRejectsCRLF(t *testing.T) {
58 srv := testServer(t)

Callers

nothing calls this directly

Calls 2

testServerFunction · 0.85
getJSONFunction · 0.85

Tested by

no test coverage detected