fixed a test where invoiceIn was nested into the summary
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
38f43eca3b
commit
41ab1bbe35
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue