Skip to content

Commit

Permalink
Update ballerina/tests/postgresql_hospital_with_schema_tests.bal
Browse files Browse the repository at this point in the history
Co-authored-by: Nuvindu Nirmana <63797478+Nuvindu@users.noreply.github.com>
  • Loading branch information
daneshk and Nuvindu authored Mar 7, 2025
1 parent 9945c60 commit 64f27db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ballerina/tests/postgresql_hospital_with_schema_tests.bal
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function testGetPatientByIdPostgreSqlWithSchema() returns error? {
function testGetPatientNotFoundPostgreSqlWithSchema() returns error? {
PostgreSqlHospitalWithSchemaClient postgresSqlDbHospital = check new();
Patient|persist:Error patient = postgresSqlDbHospital->/patients/[10].get();
if !(patient is persist:NotFoundError) {
if patient !is persist:NotFoundError {
test:assertFail("Patient should be not found");
}
}
Expand Down

0 comments on commit 64f27db

Please sign in to comment.