Skip to content

Commit a23ffaf

Browse files
committed
test(mapbox): add failing tests for the v6 API
1 parent b44c3ad commit a23ffaf

2 files changed

Lines changed: 649 additions & 0 deletions

File tree

‎src/Provider/Mapbox/Mapbox.php‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,27 @@ final class Mapbox extends AbstractHttpProvider implements Provider
9595
*/
9696
public const TYPE_ADDRESS = 'address';
9797

98+
/**
99+
* @var string
100+
*/
101+
public const TYPE_STREET = 'street';
102+
103+
/**
104+
* Japanese addresses only. The API accepts this type only for Japan-context requests
105+
* (e.g. with country=jp and language=ja), so it is intentionally not part of TYPES.
106+
*
107+
* @var string
108+
*/
109+
public const TYPE_BLOCK = 'block';
110+
111+
/**
112+
* Sub-unit, suite, or lot within a parent address (US only). The API accepts this type
113+
* only for US-context requests, so it is intentionally not part of TYPES.
114+
*
115+
* @var string
116+
*/
117+
public const TYPE_SECONDARY_ADDRESS = 'secondary_address';
118+
98119
/**
99120
* @var string
100121
*/

0 commit comments

Comments
 (0)