From 44457f559daf135ebf8121df9179148e7b6f40bc Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Fri, 6 Dec 2024 16:17:20 +0530 Subject: [PATCH] Fix the failing testcase in update 11 --- ballerina/tests/call-procedures-test.bal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ballerina/tests/call-procedures-test.bal b/ballerina/tests/call-procedures-test.bal index 636c4610..013b136d 100644 --- a/ballerina/tests/call-procedures-test.bal +++ b/ballerina/tests/call-procedures-test.bal @@ -396,18 +396,18 @@ function testMoneyProcedureCall() returns error? { } @test:Config { - groups: ["procedures"], - enable: false + groups: ["procedures"] } function testTimestamptzRetrieval() returns error? { string datetimetz = "2021-07-21T19:14:51.00+01:30"; sql:TimestampWithTimezoneOutParameter datetimetzOutValue = new; sql:ParameterizedCallQuery sqlQuery = `{call DateTimeOutProcedure (2, ${datetimetzOutValue})}`; - _ = check callProcedureMssqlClient(sqlQuery, proceduresDb, [DatetimeProcedureRecord]); - + Client dbClient = check getMssqlClient(proceduresDb); + _ = check dbClient->call(sqlQuery, [DatetimeProcedureRecord]); test:assertEquals(check datetimetzOutValue.get(time:Utc), check time:utcFromString(datetimetz), "Retrieved date time with timestamp does not match."); + check dbClient.close(); } @test:Config {