(t *testing.T)
| 334 | } |
| 335 | |
| 336 | func TestAPITraceDetailNotFound(t *testing.T) { |
| 337 | mux := http.NewServeMux() |
| 338 | seedTestData(t, mux) |
| 339 | |
| 340 | req := httptest.NewRequest("GET", "/api/sentry/traces/nonexistent", nil) |
| 341 | w := httptest.NewRecorder() |
| 342 | mux.ServeHTTP(w, req) |
| 343 | |
| 344 | if w.Code != 404 { |
| 345 | t.Fatalf("status = %d, want 404", w.Code) |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | func TestAPILogsList(t *testing.T) { |
| 350 | mux := http.NewServeMux() |
nothing calls this directly
no test coverage detected