Tarea #600 make it test friendly
This commit is contained in:
parent
6259d4611d
commit
e53beea7cb
|
@ -127,7 +127,7 @@ module.exports = function(Self) {
|
||||||
|
|
||||||
|
|
||||||
let userFk;
|
let userFk;
|
||||||
if (!loopBackContext) userFk = 9;
|
if (!loopBackContext) userFk = process.env.NODE_ENV ? 1765 : 111;
|
||||||
else userFk = loopBackContext.active.accessToken.userId;
|
else userFk = loopBackContext.active.accessToken.userId;
|
||||||
|
|
||||||
let action = setActionType(ctx);
|
let action = setActionType(ctx);
|
||||||
|
|
Loading…
Reference in New Issue