From d5444b3e308b6b8a84681962094bc34865ad1d4f Mon Sep 17 00:00:00 2001 From: ebocher Date: Tue, 4 Jun 2024 14:43:02 +0200 Subject: [PATCH] CHANGELOG.md --- .../src/test/groovy/org/orbisgis/data/GroovyH2GISTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/h2gis/src/test/groovy/org/orbisgis/data/GroovyH2GISTest.groovy b/data/h2gis/src/test/groovy/org/orbisgis/data/GroovyH2GISTest.groovy index a949dc7a..87f0ab41 100644 --- a/data/h2gis/src/test/groovy/org/orbisgis/data/GroovyH2GISTest.groovy +++ b/data/h2gis/src/test/groovy/org/orbisgis/data/GroovyH2GISTest.groovy @@ -405,7 +405,7 @@ class GroovyH2GISTest { file << 'CREATE TABLE super as SELECT * FROM $BINIOU;\n --COMMENTS HERE \nSELECT * FROM super;' h2GIS.executeScript("target/myscript.sql", [BINIOU: 'h2gis']) def concat = "" - h2GIS.spatialTable "super" eachRow { row -> concat += "$row.id $row.the_geom $row.geometry\n" } + h2GIS.getSpatialTable( "super") eachRow { row -> concat += "$row.id $row.the_geom $row.geometry\n" } assertEquals("1 POINT (10 10) POINT (10 10)\n2 POINT (1 1) POINT (1 1)\n", concat) }