diff --git a/modules/invoiceIn/back/methods/invoice-in/specs/summary.spec.js b/modules/invoiceIn/back/methods/invoice-in/specs/summary.spec.js index cf7ccdb1c..ff7a39ef5 100644 --- a/modules/invoiceIn/back/methods/invoice-in/specs/summary.spec.js +++ b/modules/invoiceIn/back/methods/invoice-in/specs/summary.spec.js @@ -4,6 +4,6 @@ describe('invoiceIn summary()', () => { it('should return a summary object containing data from one invoiceIn', async() => { const summary = await app.models.InvoiceIn.summary(1); - expect(summary.invoiceIn.supplierRef).toEqual('1234'); + expect(summary.supplierRef).toEqual('1234'); }); });