From 2ede87454c843644ebb7ac27f0231bbcddd28023 Mon Sep 17 00:00:00 2001 From: Matan Yadaev Date: Tue, 2 Apr 2024 21:34:35 +0300 Subject: [PATCH] fix test names casing --- tests/Objects/GeometryCollectionTest.php | 8 ++++---- tests/Objects/LineStringTest.php | 4 ++-- tests/Objects/MultiLineStringTest.php | 4 ++-- tests/Objects/MultiPointTest.php | 4 ++-- tests/Objects/MultiPolygonTest.php | 4 ++-- tests/Objects/PointTest.php | 4 ++-- tests/Objects/PolygonTest.php | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/Objects/GeometryCollectionTest.php b/tests/Objects/GeometryCollectionTest.php index 74f73e2..9eb0378 100644 --- a/tests/Objects/GeometryCollectionTest.php +++ b/tests/Objects/GeometryCollectionTest.php @@ -107,7 +107,7 @@ expect($geometryCollectionFromJson)->toEqual($geometryCollection); }); -it('creates geometry collection from Array', function (): void { +it('creates geometry collection from array', function (): void { $geometryCollection = new GeometryCollection([ new Polygon([ new LineString([ @@ -126,7 +126,7 @@ expect($geometryCollectionFromJson)->toEqual($geometryCollection); }); -it('creates geometry collection with SRID from Array', function (): void { +it('creates geometry collection with SRID from array', function (): void { $geometryCollection = new GeometryCollection([ new Polygon([ new LineString([ @@ -183,7 +183,7 @@ expect($geometryCollectionFromFeatureCollectionJson)->toEqual($geometryCollection); }); -it('creates geometry collection from feature collection from Array', function (): void { +it('creates geometry collection from feature collection from array', function (): void { $geometryCollection = new GeometryCollection([ new Polygon([ new LineString([ @@ -202,7 +202,7 @@ expect($geometryCollectionFromFeatureCollectionJson)->toEqual($geometryCollection); }); -it('creates geometry collection from feature collection with SRID from Array', function (): void { +it('creates geometry collection from feature collection with SRID from array', function (): void { $geometryCollection = new GeometryCollection([ new Polygon([ new LineString([ diff --git a/tests/Objects/LineStringTest.php b/tests/Objects/LineStringTest.php index eb70008..af40760 100644 --- a/tests/Objects/LineStringTest.php +++ b/tests/Objects/LineStringTest.php @@ -66,7 +66,7 @@ expect($lineStringFromJson)->toEqual($lineString); }); -it('creates line string from Array', function (): void { +it('creates line string from array', function (): void { $lineString = new LineString([ new Point(0, 180), new Point(1, 179), @@ -77,7 +77,7 @@ expect($lineStringFromJson)->toEqual($lineString); }); -it('creates line string with SRID from Array', function (): void { +it('creates line string with SRID from array', function (): void { $lineString = new LineString([ new Point(0, 180), new Point(1, 179), diff --git a/tests/Objects/MultiLineStringTest.php b/tests/Objects/MultiLineStringTest.php index a082346..3a8393b 100644 --- a/tests/Objects/MultiLineStringTest.php +++ b/tests/Objects/MultiLineStringTest.php @@ -76,7 +76,7 @@ expect($multiLineStringFromJson)->toEqual($multiLineString); }); -it('creates multi line string from Array', function (): void { +it('creates multi line string from array', function (): void { $multiLineString = new MultiLineString([ new LineString([ new Point(0, 180), @@ -89,7 +89,7 @@ expect($multiLineStringFromJson)->toEqual($multiLineString); }); -it('creates multi line string with SRID from Array', function (): void { +it('creates multi line string with SRID from array', function (): void { $multiLineString = new MultiLineString([ new LineString([ new Point(0, 180), diff --git a/tests/Objects/MultiPointTest.php b/tests/Objects/MultiPointTest.php index f906a13..ea8fdf5 100644 --- a/tests/Objects/MultiPointTest.php +++ b/tests/Objects/MultiPointTest.php @@ -61,7 +61,7 @@ expect($multiPointFromJson)->toEqual($multiPoint); }); -it('creates multi point from Array', function (): void { +it('creates multi point from array', function (): void { $multiPoint = new MultiPoint([ new Point(0, 180), ]); @@ -71,7 +71,7 @@ expect($multiPointFromJson)->toEqual($multiPoint); }); -it('creates multi point with SRID from Array', function (): void { +it('creates multi point with SRID from array', function (): void { $multiPoint = new MultiPoint([ new Point(0, 180), ], Srid::WGS84->value); diff --git a/tests/Objects/MultiPolygonTest.php b/tests/Objects/MultiPolygonTest.php index 50bd32a..20f3692 100644 --- a/tests/Objects/MultiPolygonTest.php +++ b/tests/Objects/MultiPolygonTest.php @@ -102,7 +102,7 @@ expect($multiPolygonFromJson)->toEqual($multiPolygon); }); -it('creates multi polygon from Array', function (): void { +it('creates multi polygon from array', function (): void { $multiPolygon = new MultiPolygon([ new Polygon([ new LineString([ @@ -120,7 +120,7 @@ expect($multiPolygonFromJson)->toEqual($multiPolygon); }); -it('creates multi polygon with SRID from Array', function (): void { +it('creates multi polygon with SRID from array', function (): void { $multiPolygon = new MultiPolygon([ new Polygon([ new LineString([ diff --git a/tests/Objects/PointTest.php b/tests/Objects/PointTest.php index 8d05970..b1ad8e6 100644 --- a/tests/Objects/PointTest.php +++ b/tests/Objects/PointTest.php @@ -49,7 +49,7 @@ expect($pointFromJson)->toEqual($point); }); -it('creates point from Array', function (): void { +it('creates point from array', function (): void { $point = new Point(0, 180); $pointFromJson = Point::fromArray(['type' => 'Point', 'coordinates' => [180, 0]]); @@ -57,7 +57,7 @@ expect($pointFromJson)->toEqual($point); }); -it('creates point with SRID from Array', function (): void { +it('creates point with SRID from array', function (): void { $point = new Point(0, 180, Srid::WGS84->value); $pointFromJson = Point::fromArray(['type' => 'Point', 'coordinates' => [180, 0]], Srid::WGS84->value); diff --git a/tests/Objects/PolygonTest.php b/tests/Objects/PolygonTest.php index 15eb4c8..0c49d8d 100644 --- a/tests/Objects/PolygonTest.php +++ b/tests/Objects/PolygonTest.php @@ -91,7 +91,7 @@ expect($polygonFromJson)->toEqual($polygon); }); -it('creates polygon from Array', function (): void { +it('creates polygon from array', function (): void { $polygon = new Polygon([ new LineString([ new Point(0, 180), @@ -107,7 +107,7 @@ expect($polygonFromJson)->toEqual($polygon); }); -it('creates polygon with SRID from Array', function (): void { +it('creates polygon with SRID from array', function (): void { $polygon = new Polygon([ new LineString([ new Point(0, 180),