ref #5835 fix test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-11-21 09:03:25 +01:00
parent 34e5409533
commit dd11cf5327
1 changed files with 0 additions and 6 deletions

View File

@ -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'},
}
};