fixed a test where invoiceIn was nested into the summary
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2021-04-15 10:50:10 +02:00
parent 38f43eca3b
commit 41ab1bbe35
1 changed files with 1 additions and 1 deletions

View File

@ -4,6 +4,6 @@ describe('invoiceIn summary()', () => {
it('should return a summary object containing data from one invoiceIn', async() => { it('should return a summary object containing data from one invoiceIn', async() => {
const summary = await app.models.InvoiceIn.summary(1); const summary = await app.models.InvoiceIn.summary(1);
expect(summary.invoiceIn.supplierRef).toEqual('1234'); expect(summary.supplierRef).toEqual('1234');
}); });
}); });