Skip to content

Commit

Permalink
Merge pull request #20512 from Yoshani/swap-entitlement-test
Browse files Browse the repository at this point in the history
Swap policy removal steps from pdp and pap
  • Loading branch information
Yoshani committed Jun 7, 2024
2 parents 2d19f90 + d73a486 commit f6d86d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ public void atEnd() throws Exception {
serverConfigurationManager.restoreToLastConfiguration(false);
consumerKey = null;
consumerSecret = null;
entitlementPolicyClient.removePolicy(VALIDATE_SCOPE_BASED_POLICY_ID);
entitlementPolicyClient.publishPolicies(new String[]{VALIDATE_SCOPE_BASED_POLICY_ID}, new String[]{"PDP " +
"Subscriber"}, "DELETE", true, null, 1);
entitlementPolicyClient.removePolicy(VALIDATE_SCOPE_BASED_POLICY_ID);
}

@Test(groups = "wso2.is", description = "Check Oauth2 application registration.")
Expand Down

0 comments on commit f6d86d4

Please sign in to comment.