This commit is contained in:
parent
57ed36cdfc
commit
6ac5d28c40
|
@ -6,8 +6,8 @@ describe('loopback model MailAliasAccount', () => {
|
||||||
let error;
|
let error;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const options = {transaction: tx, accessToken: {userId: 1}};
|
const options = {transaction: tx, accessToken: {userId: 57}};
|
||||||
await models.MailAliasAccount.create({mailAliasFk: 2, roleFk: 5}, options);
|
await models.MailAliasAccount.create({mailAlias: 2, account: 5}, options);
|
||||||
|
|
||||||
await tx.rollback();
|
await tx.rollback();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue