Skip to content

Commit

Permalink
Add integration tests to cross tenant subscription update scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
RusJaI committed Oct 2, 2023
1 parent f9f1ce2 commit dc4e355
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@ public class CrossTenantSubscriptionUpdateTestCase extends APIManagerLifecycleBa
public void setEnvironment() throws Exception {
super.init(TestUserMode.SUPER_TENANT_ADMIN);
serverConfigurationManager = new ServerConfigurationManager(gatewayContextWrk);
serverConfigurationManager.applyConfiguration(new File(
getAMResourceLocation() + File.separator + "configFiles" + File.separator
+ "crossTenantApplicationSubscription" + File.separator + "deployment.toml"));

serverConfigurationManager.applyConfiguration(new File(getAMResourceLocation()
+ File.separator + "configFiles" + File.separator + "cross-tenant" + File.separator + "deployment.toml"));
APIRequest apiRequest1 = new APIRequest(apiName1, apiContext1, new URL(apiEndpoint1));
apiRequest1.setVersion(apiVersion1);
apiRequest1.setTier(APIMIntegrationConstants.API_TIER.GOLD);
Expand Down

0 comments on commit dc4e355

Please sign in to comment.