refs #6085 aclMail back #1869
|
@ -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