corrected a typo

This commit is contained in:
Carlos Jimenez Ruiz 2022-02-01 12:24:11 +01:00
parent 054b112223
commit bce66899c5
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
const models = require('vn-loopback/server/server').models;
describe('Buy latests buys filter()', () => {
describe('Entry latests buys filter()', () => {
it('should return the entry matching "search"', async() => {
const tx = await models.Buy.beginTransaction({});
const options = {transaction: tx};
@ -12,7 +12,7 @@ describe('Buy latests buys filter()', () => {
}
};
const results = await models.Buy.latestBuysFilter(ctx);
const results = await models.Buy.latestBuysFilter(ctx, options);
const firstBuy = results[0];
expect(results.length).toEqual(1);