fix(client): use final order address route
This commit is contained in:
@@ -29,8 +29,9 @@ test('declares the documented merchant warehouse and first-leg endpoints', () =>
|
||||
assert.match(apiSource, /url: '\/merchant\/v1\/orders\/first-leg'/)
|
||||
assert.match(apiSource, /url: '\/merchant\/v1\/orders\/first-leg\/inbound-code-policy'/)
|
||||
assert.match(apiSource, /url: '\/merchant\/v1\/orders\/first-leg\/batch'/)
|
||||
assert.match(apiSource, /url: '\/merchant\/v1\/order-addresses'/)
|
||||
assert.match(apiSource, /`\/merchant\/v1\/order-addresses\/\$\{id\}`/)
|
||||
assert.match(apiSource, /url: '\/merchant\/v1\/orders\/first-leg\/addresses'/)
|
||||
assert.match(apiSource, /`\/merchant\/v1\/orders\/first-leg\/addresses\/\$\{id\}`/)
|
||||
assert.doesNotMatch(apiSource, /merchant\/v1\/order-addresses/)
|
||||
assert.match(apiSource, /url: '\/merchant\/v1\/orders\/first-leg\/batch-imports\/template'/)
|
||||
assert.match(apiSource, /url: '\/merchant\/v1\/orders\/first-leg\/batch-imports'/)
|
||||
assert.match(apiSource, /params: \{ mode \}/)
|
||||
|
||||
Reference in New Issue
Block a user