Skip to content

Commit f607673

Browse files
committed
chore: removed unused external data providers
1 parent 6fbc362 commit f607673

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

tests/DataProvider/InvalidParamDataProvider.php

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,6 @@
66

77
class InvalidParamDataProvider
88
{
9-
public static function provideInvalidCoordinateData(): \Generator
10-
{
11-
yield 'latitude lower than -90' => [-91, -9.1365919, ValidationException::class];
12-
yield 'latitude greater than 90' => [91, -9.1365919, ValidationException::class];
13-
yield 'longitude lower than -180' => [38.7077507, -181, ValidationException::class];
14-
yield 'longitude greater than 180' => [38.7077507, 181, ValidationException::class];
15-
}
16-
17-
public static function provideInvalidPastDateData(): \Generator
18-
{
19-
yield 'invalid past date' => [
20-
new \DateTimeImmutable('1 days'),
21-
ValidationException::class
22-
];
23-
}
24-
25-
public static function provideInvalidDateRangeData(): \Generator
26-
{
27-
yield 'start date greater than end date' => [
28-
new \DateTimeImmutable('-4 days'),
29-
new \DateTimeImmutable('-5 days'),
30-
ValidationException::class
31-
];
32-
}
33-
34-
public static function provideInvalidNumResultsData(): \Generator
35-
{
36-
yield 'equal to zero num results' => [0, ValidationException::class];
37-
yield 'negative num results' => [-1, ValidationException::class];
38-
}
39-
409
public static function provideInvalidUnitSystemData(): \Generator
4110
{
4211
yield 'not allowed unit system' => ['invalid', ValidationException::class];

0 commit comments

Comments
 (0)