Skip to content

Commit 3758c3c

Browse files
committed
Fix tests
1 parent e04a0f9 commit 3758c3c

File tree

1 file changed

+1
-1
lines changed
  • components/apimgt/org.wso2.carbon.apimgt.gateway/src/test/java/org/wso2/carbon/apimgt/gateway/handlers/throttling

1 file changed

+1
-1
lines changed

components/apimgt/org.wso2.carbon.apimgt.gateway/src/test/java/org/wso2/carbon/apimgt/gateway/handlers/throttling/ThrottleHandlerTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ public void testMsgThrottleOutWithUserBlockingConditions() {
592592
@Test
593593
public void testHandleRequestForGraphQLSubscriptions() {
594594

595-
ThrottleHandler throttleHandler = new ThrottlingHandlerWrapper(timer, new ThrottleDataHolder(),
595+
ThrottleHandler throttleHandler = new ThrottlingHandlerWrapper(timer, ThrottleDataHolder.getInstance(),
596596
throttleEvaluator, accessInformation);
597597
Axis2MessageContext messageContext = Mockito.mock(Axis2MessageContext.class);
598598
org.apache.axis2.context.MessageContext axis2MessageContext =

0 commit comments

Comments
 (0)