Skip to content

Commit 2ede874

Browse files
committed
fix test names casing
1 parent b4d00ec commit 2ede874

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

tests/Objects/GeometryCollectionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
expect($geometryCollectionFromJson)->toEqual($geometryCollection);
108108
});
109109

110-
it('creates geometry collection from Array', function (): void {
110+
it('creates geometry collection from array', function (): void {
111111
$geometryCollection = new GeometryCollection([
112112
new Polygon([
113113
new LineString([
@@ -126,7 +126,7 @@
126126
expect($geometryCollectionFromJson)->toEqual($geometryCollection);
127127
});
128128

129-
it('creates geometry collection with SRID from Array', function (): void {
129+
it('creates geometry collection with SRID from array', function (): void {
130130
$geometryCollection = new GeometryCollection([
131131
new Polygon([
132132
new LineString([
@@ -183,7 +183,7 @@
183183
expect($geometryCollectionFromFeatureCollectionJson)->toEqual($geometryCollection);
184184
});
185185

186-
it('creates geometry collection from feature collection from Array', function (): void {
186+
it('creates geometry collection from feature collection from array', function (): void {
187187
$geometryCollection = new GeometryCollection([
188188
new Polygon([
189189
new LineString([
@@ -202,7 +202,7 @@
202202
expect($geometryCollectionFromFeatureCollectionJson)->toEqual($geometryCollection);
203203
});
204204

205-
it('creates geometry collection from feature collection with SRID from Array', function (): void {
205+
it('creates geometry collection from feature collection with SRID from array', function (): void {
206206
$geometryCollection = new GeometryCollection([
207207
new Polygon([
208208
new LineString([

tests/Objects/LineStringTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
expect($lineStringFromJson)->toEqual($lineString);
6767
});
6868

69-
it('creates line string from Array', function (): void {
69+
it('creates line string from array', function (): void {
7070
$lineString = new LineString([
7171
new Point(0, 180),
7272
new Point(1, 179),
@@ -77,7 +77,7 @@
7777
expect($lineStringFromJson)->toEqual($lineString);
7878
});
7979

80-
it('creates line string with SRID from Array', function (): void {
80+
it('creates line string with SRID from array', function (): void {
8181
$lineString = new LineString([
8282
new Point(0, 180),
8383
new Point(1, 179),

tests/Objects/MultiLineStringTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
expect($multiLineStringFromJson)->toEqual($multiLineString);
7777
});
7878

79-
it('creates multi line string from Array', function (): void {
79+
it('creates multi line string from array', function (): void {
8080
$multiLineString = new MultiLineString([
8181
new LineString([
8282
new Point(0, 180),
@@ -89,7 +89,7 @@
8989
expect($multiLineStringFromJson)->toEqual($multiLineString);
9090
});
9191

92-
it('creates multi line string with SRID from Array', function (): void {
92+
it('creates multi line string with SRID from array', function (): void {
9393
$multiLineString = new MultiLineString([
9494
new LineString([
9595
new Point(0, 180),

tests/Objects/MultiPointTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
expect($multiPointFromJson)->toEqual($multiPoint);
6262
});
6363

64-
it('creates multi point from Array', function (): void {
64+
it('creates multi point from array', function (): void {
6565
$multiPoint = new MultiPoint([
6666
new Point(0, 180),
6767
]);
@@ -71,7 +71,7 @@
7171
expect($multiPointFromJson)->toEqual($multiPoint);
7272
});
7373

74-
it('creates multi point with SRID from Array', function (): void {
74+
it('creates multi point with SRID from array', function (): void {
7575
$multiPoint = new MultiPoint([
7676
new Point(0, 180),
7777
], Srid::WGS84->value);

tests/Objects/MultiPolygonTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
expect($multiPolygonFromJson)->toEqual($multiPolygon);
103103
});
104104

105-
it('creates multi polygon from Array', function (): void {
105+
it('creates multi polygon from array', function (): void {
106106
$multiPolygon = new MultiPolygon([
107107
new Polygon([
108108
new LineString([
@@ -120,7 +120,7 @@
120120
expect($multiPolygonFromJson)->toEqual($multiPolygon);
121121
});
122122

123-
it('creates multi polygon with SRID from Array', function (): void {
123+
it('creates multi polygon with SRID from array', function (): void {
124124
$multiPolygon = new MultiPolygon([
125125
new Polygon([
126126
new LineString([

tests/Objects/PointTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@
4949
expect($pointFromJson)->toEqual($point);
5050
});
5151

52-
it('creates point from Array', function (): void {
52+
it('creates point from array', function (): void {
5353
$point = new Point(0, 180);
5454

5555
$pointFromJson = Point::fromArray(['type' => 'Point', 'coordinates' => [180, 0]]);
5656

5757
expect($pointFromJson)->toEqual($point);
5858
});
5959

60-
it('creates point with SRID from Array', function (): void {
60+
it('creates point with SRID from array', function (): void {
6161
$point = new Point(0, 180, Srid::WGS84->value);
6262

6363
$pointFromJson = Point::fromArray(['type' => 'Point', 'coordinates' => [180, 0]], Srid::WGS84->value);

tests/Objects/PolygonTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
expect($polygonFromJson)->toEqual($polygon);
9292
});
9393

94-
it('creates polygon from Array', function (): void {
94+
it('creates polygon from array', function (): void {
9595
$polygon = new Polygon([
9696
new LineString([
9797
new Point(0, 180),
@@ -107,7 +107,7 @@
107107
expect($polygonFromJson)->toEqual($polygon);
108108
});
109109

110-
it('creates polygon with SRID from Array', function (): void {
110+
it('creates polygon with SRID from array', function (): void {
111111
$polygon = new Polygon([
112112
new LineString([
113113
new Point(0, 180),

0 commit comments

Comments
 (0)