Skip to content

Commit bd91ffc

Browse files
authored
Fix integration test: check run_ids_or_urls (plural) in audit error envelope (#28519)
1 parent 396666c commit bd91ffc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/cli/mcp_server_error_codes_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ func TestMCPServer_ErrorCodes_InternalError(t *testing.T) {
194194
if _, hasError := envelope["error"]; !hasError {
195195
t.Errorf("Expected 'error' field in audit JSON response, got: %s", textContent.Text)
196196
}
197-
if _, hasRunID := envelope["run_id_or_url"]; !hasRunID {
198-
t.Errorf("Expected 'run_id_or_url' field in audit JSON response, got: %s", textContent.Text)
197+
if _, hasRunID := envelope["run_ids_or_urls"]; !hasRunID {
198+
t.Errorf("Expected 'run_ids_or_urls' field in audit JSON response, got: %s", textContent.Text)
199199
}
200200
if _, hasSuggestions := envelope["suggestions"]; !hasSuggestions {
201201
t.Errorf("Expected 'suggestions' field in audit JSON response, got: %s", textContent.Text)

0 commit comments

Comments
 (0)