diff --git a/pkg/cli/mcp_server_error_codes_test.go b/pkg/cli/mcp_server_error_codes_test.go index 0d3f0b7bba..cd34eaae1d 100644 --- a/pkg/cli/mcp_server_error_codes_test.go +++ b/pkg/cli/mcp_server_error_codes_test.go @@ -194,8 +194,8 @@ func TestMCPServer_ErrorCodes_InternalError(t *testing.T) { if _, hasError := envelope["error"]; !hasError { t.Errorf("Expected 'error' field in audit JSON response, got: %s", textContent.Text) } - if _, hasRunID := envelope["run_id_or_url"]; !hasRunID { - t.Errorf("Expected 'run_id_or_url' field in audit JSON response, got: %s", textContent.Text) + if _, hasRunID := envelope["run_ids_or_urls"]; !hasRunID { + t.Errorf("Expected 'run_ids_or_urls' field in audit JSON response, got: %s", textContent.Text) } if _, hasSuggestions := envelope["suggestions"]; !hasSuggestions { t.Errorf("Expected 'suggestions' field in audit JSON response, got: %s", textContent.Text)