Skip to content

Commit

Permalink
Refactor APIMGetAllSubscriptionThrottlingPolicies file
Browse files Browse the repository at this point in the history
  • Loading branch information
HeshanSudarshana committed Feb 6, 2024
1 parent 44f4022 commit 64eba38
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

package org.wso2.am.integration.tests.publisher;

import java.util.List;

import org.testng.annotations.BeforeClass;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Factory;
Expand All @@ -29,8 +31,6 @@
import org.wso2.am.integration.test.utils.base.APIMIntegrationBaseTest;
import org.wso2.carbon.automation.engine.context.TestUserMode;

import java.util.List;

import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertNotNull;
import static org.wso2.carbon.apimgt.api.model.policy.PolicyConstants.EVENT_COUNT_TYPE;
Expand Down Expand Up @@ -127,7 +127,6 @@ public void testGetAllSubscriptionThrottlingPoliciesByQuotaType() throws Excepti
"Invalid display name of the tier AsyncWHUnlimited");
assertEquals(tierAsyncWHUnlimited.getDescription(), "Allows unlimited events and unlimited active " +
"subscriptions", "Invalid description of the tier AsyncWHUnlimited");

}

public SubscriptionPolicyDTO getSubscriptionPolicy(String policyName, List<SubscriptionPolicyDTO> subscriptionPolicyDTOList) {
Expand Down

0 comments on commit 64eba38

Please sign in to comment.