Skip to content

Commit 97e354f

Browse files
committed
chore: added GeocodingEndpoint missing tests
1 parent fe0a33d commit 97e354f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/GeocodingEndpointTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public static function provideEndpointSuccessResponseData(): \Generator
4242
public static function provideEndpointInvalidResponseData(): \Generator
4343
{
4444
yield 'get by location name, blank value' => ['geocoding', 'getByLocationName', ['']];
45+
yield 'get by location name, zero num results' => ['geocoding', 'getByLocationName', ['test', 0]];
46+
yield 'get by location name, negative num results' => ['geocoding', 'getByLocationName', ['test', -1]];
4547

4648
yield 'get by zip code, blank zip code' => ['geocoding', 'getByZipCode', ['', 'pt']];
4749
yield 'get by zip code, blank country code' => ['geocoding', 'getByZipCode', ['1234-567', '']];

0 commit comments

Comments
 (0)