Skip to content

Commit

Permalink
Fixes for failing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
IsuruMaduranga committed Aug 18, 2023
1 parent 11713bf commit ae2b74c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class CORSHeadersTestCase extends APIManagerLifecycleBaseTest {
private static final String ACCESS_CONTROL_ALLOW_METHODS_HEADER_VALUE = "DELETE,POST,PUT,PATCH,GET";
private static final String ACCESS_CONTROL_ALLOW_HEADERS_HEADER = "Access-Control-Allow-Headers";
private static final String ACCESS_CONTROL_ALLOW_HEADERS_HEADER_VALUE
= "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization";
= "authorization,Access-Control-Allow-Origin,Content-Type,SOAPAction,Authorization,ApiKey";
private static final String ACCESS_CONTROL_ALLOW_CREDENTIALS_HEADER = "Access-Control-Allow-Credentials";

private String accessToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
}
}
},
"x-wso2-api-key-header": "ApiKey",
"securityDefinitions" : {
"default" : {
"type" : "oauth2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
}
}
},
"x-wso2-api-key-header": "ApiKey",
"x-throttling-tier" : "Unlimited",
"x-wso2-cors" : {
"corsConfigurationEnabled" : true,
Expand Down

0 comments on commit ae2b74c

Please sign in to comment.