优化
This commit is contained in:
@@ -32,7 +32,7 @@ test('three real command payloads mutate contract fields and preserve remarks an
|
||||
addStep(_module, name, _response, passed) { assert.ok(passed, name) },
|
||||
addCoverageGap() { assert.fail('unexpected missing fixture') },
|
||||
async request(method, path, body, _token, headers) {
|
||||
if (path.includes('/suppliers?')) return response({ records: [{ id: '9223372036854775804', name: 'Offline fleet', status: 'ACTIVE' }] })
|
||||
if (path.includes('/suppliers?')) return response({ records: [{ id: '9223372036854775804', name: 'Offline fleet', category: 'TRUCKING', truckingScope: 'OVERSEAS', status: 'ACTIVE' }] })
|
||||
if (method === 'GET') {
|
||||
if (path.endsWith('/history')) return response(history)
|
||||
if (path.includes('?containerBookingIds=')) return response([state])
|
||||
|
||||
Reference in New Issue
Block a user