diff --git a/tools/router/event_test.go b/tools/router/event_test.go index 8068ee1f..aba5405d 100644 --- a/tools/router/event_test.go +++ b/tools/router/event_test.go @@ -354,19 +354,19 @@ func TestEventString(t *testing.T) { scenarios := []testResponseWriteScenario[string]{ { name: "no explicit content-type", - status: 123, + status: 234, headers: nil, body: "test", - expectedStatus: 123, + expectedStatus: 234, expectedHeaders: map[string]string{"content-type": "text/plain; charset=utf-8"}, expectedBody: "test", }, { name: "with explicit content-type", - status: 123, + status: 234, headers: map[string]string{"content-type": "text/test"}, body: "test", - expectedStatus: 123, + expectedStatus: 234, expectedHeaders: map[string]string{"content-type": "text/test"}, expectedBody: "test", }, @@ -383,19 +383,19 @@ func TestEventHTML(t *testing.T) { scenarios := []testResponseWriteScenario[string]{ { name: "no explicit content-type", - status: 123, + status: 234, headers: nil, body: "test", - expectedStatus: 123, + expectedStatus: 234, expectedHeaders: map[string]string{"content-type": "text/html; charset=utf-8"}, expectedBody: "test", }, { name: "with explicit content-type", - status: 123, + status: 234, headers: map[string]string{"content-type": "text/test"}, body: "test", - expectedStatus: 123, + expectedStatus: 234, expectedHeaders: map[string]string{"content-type": "text/test"}, expectedBody: "test", },