We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65543ee commit 60399e5Copy full SHA for 60399e5
tests/Integration/SpatialTest.php
@@ -186,7 +186,7 @@ public function testInsertEmptyGeometryCollection()
186
$this->assertDatabaseHas('geometry', ['id' => $geo->id]);
187
188
$geo2 = GeometryModel::find($geo->id);
189
- $this->assertInstanceOf(GeometryCollection::class, $geo2->multi_geometries);
+ $this->assertNull($geo2->multi_geometries); // MySQL 5.6 saves null instead of empty GeometryCollection
190
}
191
192
public function testUpdate()
0 commit comments