Skip to content

Commit d4f4518

Browse files
committed
addressed code rabbit
1 parent eac693d commit d4f4518

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/e2e/features/mcp.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ Feature: MCP tests
414414
Given The system is in default state
415415
And I set the "MCP-HEADERS" header to
416416
"""
417-
{"mcp-oauth": {"Authorization": "Bearer oauth-test-token"}, "mcp-client": {"Authorization": "Bearer client-test-token"}}
417+
{"mcp-oauth": {"Authorization": "Bearer oauth-test-token"}}
418418
"""
419419
When I access REST API endpoint "tools" using HTTP GET method
420420
Then The status code of the response is 200
@@ -426,7 +426,7 @@ Feature: MCP tests
426426
Given The system is in default state
427427
And I set the "MCP-HEADERS" header to
428428
"""
429-
{"mcp-oauth": {"Authorization": "Bearer oauth-test-token"}, "mcp-client": {"Authorization": "Bearer client-test-token"}}
429+
{"mcp-oauth": {"Authorization": "Bearer oauth-test-token"}}
430430
"""
431431
And I capture the current token metrics
432432
When I use "query" to ask question with authorization header
@@ -445,7 +445,7 @@ Feature: MCP tests
445445
Given The system is in default state
446446
And I set the "MCP-HEADERS" header to
447447
"""
448-
{"mcp-oauth": {"Authorization": "Bearer test-token"}}
448+
{"mcp-oauth": {"Authorization": "Bearer oauth-test-token"}}
449449
"""
450450
And I capture the current token metrics
451451
When I use "streaming_query" to ask question with authorization header
@@ -464,7 +464,7 @@ Feature: MCP tests
464464
Given The system is in default state
465465
And I set the "MCP-HEADERS" header to
466466
"""
467-
{"mcp-oauth": {"Authorization": "Bearer invalid-token"}}
467+
{"mcp-oauth": {"Authorization": "Bearer oauth-invalid-token"}}
468468
"""
469469
When I access REST API endpoint "tools" using HTTP GET method
470470
Then The status code of the response is 401
@@ -484,7 +484,7 @@ Feature: MCP tests
484484
Given The system is in default state
485485
And I set the "MCP-HEADERS" header to
486486
"""
487-
{"mcp-oauth": {"Authorization": "Bearer invalid-token"}}
487+
{"mcp-oauth": {"Authorization": "Bearer oauth-invalid-token"}}
488488
"""
489489
When I use "query" to ask question with authorization header
490490
"""
@@ -507,7 +507,7 @@ Feature: MCP tests
507507
Given The system is in default state
508508
And I set the "MCP-HEADERS" header to
509509
"""
510-
{"mcp-oauth": {"Authorization": "Bearer invalid-token"}}
510+
{"mcp-oauth": {"Authorization": "Bearer oauth-invalid-token"}}
511511
"""
512512
When I use "streaming_query" to ask question with authorization header
513513
"""

0 commit comments

Comments
 (0)