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 {