Skip to content

Commit

Permalink
fix: change oauth type in test asyncapi
Browse files Browse the repository at this point in the history
  • Loading branch information
spataphore1337 committed Nov 19, 2024
1 parent 2c8b499 commit 706f681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/asyncapi/confluent/test_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ async def test_topic(msg: str) -> str:
{"oauthbearer": []}
]
sasl_oauthbearer_security_schema["components"]["securitySchemes"] = {
"oauthbearer": {"type": "oauthBearer"}
"oauthbearer": {"type": "oauth2", "$ref": ""}
}

assert schema == sasl_oauthbearer_security_schema
Expand Down
2 changes: 1 addition & 1 deletion tests/asyncapi/kafka/test_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ async def test_topic(msg: str) -> str:
{"oauthbearer": []}
]
sasl_oauthbearer_security_schema["components"]["securitySchemes"] = {
"oauthbearer": {"type": "oauthBearer"}
"oauthbearer": {"type": "oauth2", "$ref": ""}
}

assert schema == sasl_oauthbearer_security_schema
Expand Down

0 comments on commit 706f681

Please sign in to comment.