From 3695b76fbd99f8d25e242ac67de704a6ba268abb Mon Sep 17 00:00:00 2001 From: jtubau Date: Wed, 5 Mar 2025 21:51:15 +0100 Subject: [PATCH] fix: update client structure in getAgencies test --- .../Route/Agency/composables/__tests__/getAgencies.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Route/Agency/composables/__tests__/getAgencies.spec.js b/src/pages/Route/Agency/composables/__tests__/getAgencies.spec.js index 99966569c..24da7e073 100644 --- a/src/pages/Route/Agency/composables/__tests__/getAgencies.spec.js +++ b/src/pages/Route/Agency/composables/__tests__/getAgencies.spec.js @@ -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);