fix: update client structure in getAgencies test
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
a812fc1720
commit
3695b76fbd
|
@ -66,7 +66,7 @@ describe('getAgencies', () => {
|
||||||
|
|
||||||
it('should return options and agency when default agency is found', async () => {
|
it('should return options and agency when default agency is found', async () => {
|
||||||
const formData = { warehouseId: '123', addressId: '456', landed: 'true' };
|
const formData = { warehouseId: '123', addressId: '456', landed: 'true' };
|
||||||
const client = { defaultAddress: { agencyModeFk: 'Agency1' } };
|
const client = { agencyModeFk: 'Agency1' };
|
||||||
|
|
||||||
const { options, agency } = await getAgencies(formData, client);
|
const { options, agency } = await getAgencies(formData, client);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue