This commit is contained in:
parent
08612fc70c
commit
3539b5a33e
|
@ -1,6 +1,6 @@
|
||||||
const models = require('vn-loopback/server/server').models;
|
const models = require('vn-loopback/server/server').models;
|
||||||
|
|
||||||
fdescribe('Entry filter()', () => {
|
describe('Entry filter()', () => {
|
||||||
it('should return the entry matching "search"', async() => {
|
it('should return the entry matching "search"', async() => {
|
||||||
const tx = await models.Entry.beginTransaction({});
|
const tx = await models.Entry.beginTransaction({});
|
||||||
const options = {transaction: tx};
|
const options = {transaction: tx};
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const UserError = require('vn-loopback/util/user-error');
|
const UserError = require('vn-loopback/util/user-error');
|
||||||
const models = require('vn-loopback/server/server').models;
|
const models = require('vn-loopback/server/server').models;
|
||||||
|
|
||||||
fdescribe('entry getBuys()', () => {
|
describe('entry getBuys()', () => {
|
||||||
const entryId = 4;
|
const entryId = 4;
|
||||||
describe('should get the buys and items of an entry ', () => {
|
describe('should get the buys and items of an entry ', () => {
|
||||||
it('when is supplier and entry owner', async() => {
|
it('when is supplier and entry owner', async() => {
|
||||||
|
|
Loading…
Reference in New Issue