Skip to content

Commit

Permalink
Fix risky test
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Mar 21, 2024
1 parent c4bc936 commit 5408759
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/Geometry/BoundingAreaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ public function testAreaCrossesPositiveAntimeridian(): void

public function testNetherlandsBufferedCorrectly(): void
{
if (InstalledVersions::isInstalled(RegionMap::PACKAGES[RegionMap::REGION_EUROPE])) {
$polygon = BoundingArea::createFromExtentCodes(['urn:ogc:def:area:EPSG::1275']);
self::assertTrue($polygon->containsPoint(new GeographicValue(new Degree(50.965613067768), new Degree(5.8249181759236), null, Datum::fromSRID(Datum::EPSG_WORLD_GEODETIC_SYSTEM_1984_ENSEMBLE))));
}
$polygon = BoundingArea::createFromExtentCodes(['urn:ogc:def:area:EPSG::1275']);
self::assertTrue($polygon->containsPoint(new GeographicValue(new Degree(50.965613067768), new Degree(5.8249181759236), null, Datum::fromSRID(Datum::EPSG_WORLD_GEODETIC_SYSTEM_1984_ENSEMBLE))));
}
}

0 comments on commit 5408759

Please sign in to comment.