Skip to content

Commit

Permalink
Fix test fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharsanan1 committed Sep 19, 2024
1 parent 326de22 commit 182d035
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Feature: API subscription based AI ratelimit Feature
And I have a valid subscription
Then I generate JWT token from idp1 with kid "123-456" and consumer_key "45f1c5c8-a92e-11ed-afa1-0242ac120065"
Then I set headers
|Authorization|bearer ${idp-1-45f1c5c8-a92e-11ed-afa1-0242ac120005-token}|
|Authorization|bearer ${idp-1-45f1c5c8-a92e-11ed-afa1-0242ac120065-token}|
And I wait for next minute strictly
And I send "GET" request to "https://default.gw.wso2.com:9095/llm-api-subs/v1.0.0/3.14/employee?send=body" with body ""
Then the response status code should be 200
Expand Down Expand Up @@ -41,7 +41,7 @@ Feature: API subscription based AI ratelimit Feature
And I have a valid subscription
Then I generate JWT token from idp1 with kid "123-456" and consumer_key "45f1c5c8-a92e-11ed-afa1-0242ac120065"
Then I set headers
|Authorization|bearer ${idp-1-45f1c5c8-a92e-11ed-afa1-0242ac120005-token}|
|Authorization|bearer ${idp-1-45f1c5c8-a92e-11ed-afa1-0242ac120065-token}|
And I wait for next minute strictly
And I send "GET" request to "https://default.gw.wso2.com:9095/llm-api-subs/v1.0.0/3.14/employee?send=header" with body ""
Then the response status code should be 200
Expand Down

0 comments on commit 182d035

Please sign in to comment.