diff --git a/modules/claim/front/descriptor/index.spec.js b/modules/claim/front/descriptor/index.spec.js index 1a18141ca..7cdca1b82 100644 --- a/modules/claim/front/descriptor/index.spec.js +++ b/modules/claim/front/descriptor/index.spec.js @@ -23,7 +23,7 @@ describe('Item Component vnClaimDescriptor', () => { controller.showReport = jest.fn(); const params = { - clientId: claim.clientFk, + recipientId: claim.clientFk, claimId: claim.id }; controller.showPickupOrder(); @@ -38,7 +38,7 @@ describe('Item Component vnClaimDescriptor', () => { const params = { recipient: claim.client.email, - clientId: claim.clientFk, + recipientId: claim.clientFk, claimId: claim.id }; controller.sendPickupOrder(); diff --git a/modules/client/front/sample/create/index.spec.js b/modules/client/front/sample/create/index.spec.js index 6acf9e960..af7f2f3ff 100644 --- a/modules/client/front/sample/create/index.spec.js +++ b/modules/client/front/sample/create/index.spec.js @@ -68,7 +68,7 @@ describe('Client', () => { code: 'MyReport' }; controller.clientSample = { - clientId: 101 + recipientId: 101 }; controller.send(false, () => {}); @@ -81,7 +81,7 @@ describe('Client', () => { controller.$.sampleType.selection = null; controller.clientSample = { - clientId: 101, + recipientId: 101, recipient: 'client@email.com' }; @@ -98,7 +98,7 @@ describe('Client', () => { code: 'MyReport' }; controller.clientSample = { - clientId: 101, + recipientId: 101, recipient: 'client@email.com' }; @@ -113,11 +113,11 @@ describe('Client', () => { code: 'MyReport' }; controller.clientSample = { - clientId: 101, + recipientId: 101, recipient: 'client@email.com' }; const expectedParams = { - clientId: 101, + recipientId: 101, recipient: 'client@email.com' }; const serializedParams = $httpParamSerializer(expectedParams); @@ -133,12 +133,12 @@ describe('Client', () => { code: 'MyReport' }; controller.clientSample = { - clientId: 101, + recipientId: 101, recipient: 'client@email.com', companyFk: 442 }; const expectedParams = { - clientId: 101, + recipientId: 101, recipient: 'client@email.com', companyId: 442 };