Tarea #600 make it test friendly

This commit is contained in:
Gerard 2018-10-03 13:22:24 +02:00
parent 6259d4611d
commit e53beea7cb
1 changed files with 1 additions and 1 deletions

View File

@ -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);