fix: update client structure in getAgencies test
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Jose Antonio Tubau 2025-03-05 21:51:15 +01:00
parent a812fc1720
commit 3695b76fbd
1 changed files with 1 additions and 1 deletions

View File

@ -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);