(t *testing.T)
| 47 | } |
| 48 | |
| 49 | func 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 | |
| 57 | func TestGetConversationRejectsCRLF(t *testing.T) { |
| 58 | srv := testServer(t) |
nothing calls this directly
no test coverage detected