Skip to content

Commit

Permalink
assertObjectHasAttribute replaced with assertObjectHasProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
egbuk committed Dec 29, 2023
1 parent 48091c1 commit ab3ce2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/GridTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function testGrid()
foreach ($data as $item) {
$this->assertArrayNotHasKey('id', $item->getParameters());
$feature = $item->asGeoJSONFeature();
$this->assertObjectHasAttribute('id', $feature->getProperties());
$this->assertObjectHasProperty('id', $feature->getProperties());
$this->assertEquals($item->getId(), $feature->getProperties()->id);
}
$i++;
Expand Down

0 comments on commit ab3ce2c

Please sign in to comment.