From 1a399d74583a6878ef74cea358d0ddc54598b510 Mon Sep 17 00:00:00 2001 From: Karel Maesen Date: Fri, 28 Apr 2023 11:28:59 +0200 Subject: [PATCH] HHH-15160 - Fix unit test --- .../spatial/dialect/postgis/PostgisDistanceOperatorsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/postgis/PostgisDistanceOperatorsTest.java b/hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/postgis/PostgisDistanceOperatorsTest.java index bef3f20788..5ea79c0528 100644 --- a/hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/postgis/PostgisDistanceOperatorsTest.java +++ b/hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/postgis/PostgisDistanceOperatorsTest.java @@ -140,7 +140,7 @@ public class PostgisDistanceOperatorsTest { ) ); assertEquals( - "Parameter 1 of function distance_2d_bbox() has type SPATIAL, but argument is of type java.lang.Integer", + "org.hibernate.QueryException: Parameter 1 of function distance_2d_bbox() has type SPATIAL, but argument is of type java.lang.Integer", thrown.getMessage() );