From b9a50f3465ef6a06e3ba9707b37536597699aa73 Mon Sep 17 00:00:00 2001 From: dilanSachi Date: Thu, 16 Nov 2023 14:17:34 +0530 Subject: [PATCH] Update test case --- .../stdlib/http/transport/unitfunction/CommonUtilTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/native/src/test/java/io/ballerina/stdlib/http/transport/unitfunction/CommonUtilTestCase.java b/native/src/test/java/io/ballerina/stdlib/http/transport/unitfunction/CommonUtilTestCase.java index cc6253c17f..0c39cd561f 100644 --- a/native/src/test/java/io/ballerina/stdlib/http/transport/unitfunction/CommonUtilTestCase.java +++ b/native/src/test/java/io/ballerina/stdlib/http/transport/unitfunction/CommonUtilTestCase.java @@ -235,7 +235,8 @@ public void testResetChannelAttributes() { @Test public void testIsKeepAlive() throws ConfigurationException { HttpCarbonMessage outboundRequestMsg = mock(HttpCarbonMessage.class); - Assert.assertFalse(Util.isKeepAlive(KeepAliveConfig.NEVER, outboundRequestMsg)); + HttpCarbonMessage inboundRequestMsg = mock(HttpCarbonMessage.class); + Assert.assertFalse(Util.isKeepAlive(KeepAliveConfig.NEVER, outboundRequestMsg, inboundRequestMsg)); } }