This commit is contained in:
parent
34e5409533
commit
dd11cf5327
|
@ -5,11 +5,6 @@ describe('invoiceInDueDay new()', () => {
|
||||||
beforeAll(async() => {
|
beforeAll(async() => {
|
||||||
const activeCtx = {
|
const activeCtx = {
|
||||||
accessToken: {userId: 9},
|
accessToken: {userId: 9},
|
||||||
http: {
|
|
||||||
req: {
|
|
||||||
headers: {origin: 'http://localhost'}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
spyOn(LoopBackContext, 'getCurrentContext').and.returnValue({
|
spyOn(LoopBackContext, 'getCurrentContext').and.returnValue({
|
||||||
active: activeCtx
|
active: activeCtx
|
||||||
|
@ -24,7 +19,6 @@ describe('invoiceInDueDay new()', () => {
|
||||||
req: {
|
req: {
|
||||||
|
|
||||||
accessToken: {userId: userId},
|
accessToken: {userId: userId},
|
||||||
headers: {origin: 'http://localhost:5000'},
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue