From 8eab6db355e83e20e404a2f74c717b3a0365c0a7 Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Fri, 7 Mar 2025 15:15:02 +0530 Subject: [PATCH] Update ballerina/tests/h2_hospital_with_schema_tests.bal Co-authored-by: DimuthuMadushan <35717653+DimuthuMadushan@users.noreply.github.com> --- ballerina/tests/h2_hospital_with_schema_tests.bal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ballerina/tests/h2_hospital_with_schema_tests.bal b/ballerina/tests/h2_hospital_with_schema_tests.bal index f6473cc..4d68b87 100644 --- a/ballerina/tests/h2_hospital_with_schema_tests.bal +++ b/ballerina/tests/h2_hospital_with_schema_tests.bal @@ -317,7 +317,7 @@ function testDeleteAppointmentByPatientIdH2WithSchema() returns error? { && appointment.appointmentTime.month == 5 && appointment.appointmentTime.day == 31 select appointment; - if (result is persist:Error) { + if result is persist:Error { test:assertFail("Appointment should be found"); } foreach Appointment appointment in result {