This commit is contained in:
2026-09-16 11:06:33 +08:00
parent a4c659f4c6
commit a098c4377c
46 changed files with 356 additions and 109 deletions
@@ -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])