Skip to content

Commit d6c5856

Browse files
committed
fix test
1 parent 82316f6 commit d6c5856

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

MCP-Security/MCPMethodNotFound.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,5 @@ execute:
7171
validate:
7272
response_payload:
7373
or:
74-
- contains_either: "${methodNotFoundCode}"
75-
- $magic: >
76-
Check if the response includes a valid MCP error indicating the requested method was not found.
77-
The error should include code -32601 or an equivalent explanation, and should not include stack traces or internal debug info.
74+
- contains_either: "${methodNotFoundCode}"
75+
- contains_either: "$magic Check if the response includes a valid MCP error indicating the requested method was not found. The error should include code -32601 or an equivalent explanation, and should not include stack traces or internal debug info."

0 commit comments

Comments
 (0)