Skip to content

Commit

Permalink
Fix tests to use new enum
Browse files Browse the repository at this point in the history
  • Loading branch information
sfreytag committed Oct 15, 2024
1 parent 5d4a448 commit ac66f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/api/ListingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public function testCreate(): void

// Create an inventory structure:
// Inventory 1, create a boundary Geojson
$boundary = new GeojsonSchema(GeojsonGeometryTypeEnum::POLYGON);
$boundary = new GeojsonSchema(GeojsonGeometryTypeEnum::Polygon);
$boundary->geometry->coordinates = [[-1, 53.2], [-1.1, 53.3]];

// Inventory 2, create a centroid Geojson
$centroid = new GeojsonSchema(GeojsonGeometryTypeEnum::POINT);
$centroid = new GeojsonSchema(GeojsonGeometryTypeEnum::Point);
$centroid->geometry->coordinates = [-1.05, 53.25];

// Inventory 3, create a compartment
Expand Down

0 comments on commit ac66f84

Please sign in to comment.