fix: add agencyModeFk to selectedClient #1560
|
@ -66,7 +66,7 @@ describe('getAgencies', () => {
|
|||
|
||||
it('should return options and agency when default agency is found', async () => {
|
||||
const formData = { warehouseId: '123', addressId: '456', landed: 'true' };
|
||||
const client = { defaultAddress: { agencyModeFk: 'Agency1' } };
|
||||
const client = { agencyModeFk: 'Agency1' };
|
||||
|
||||
const { options, agency } = await getAgencies(formData, client);
|
||||
|
||||
|
|
Loading…
Reference in New Issue