Skip to content

Commit 6e369f3

Browse files
authored
Refs #34882 -- Fixed GISFunctionsTests.test_asgeojson_option_0() test on Oracle.
This uses an example with the same precision for all databases. Follow up to 96e7a75.
1 parent d21ab70 commit 6e369f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/gis_tests/geoapp/test_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_asgeojson(self):
122122
@skipUnlessDBFeature("has_AsGeoJSON_function")
123123
def test_asgeojson_option_0(self):
124124
p1 = Point(1, 1, srid=4326)
125-
p2 = Point(2, 2, srid=4326)
125+
p2 = Point(-87.65018, 41.85039, srid=4326)
126126
obj = ManyPointModel.objects.create(
127127
point1=p1,
128128
point2=p2,
@@ -134,7 +134,7 @@ def test_asgeojson_option_0(self):
134134
.geojson,
135135
# GeoJSON without CRS.
136136
json.loads(
137-
'{"type":"Point","coordinates":[222638.98158655,222684.20850554]}'
137+
'{"type":"Point","coordinates":[-9757173.40553877, 5138594.87034608]}'
138138
),
139139
)
140140

0 commit comments

Comments
 (0)