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