refs #6915 test_master24_8 #2067

Merged
alexm merged 561 commits from test_master24_8 into master 2024-02-22 07:31:34 +00:00
1 changed files with 3 additions and 11 deletions
Showing only changes of commit 04f1a03d4d - Show all commits

View File

@ -13,16 +13,8 @@ describe('Client Create', () => {
businessTypeFk: 'florist',
provinceFk: 1
};
const newAccount2 = {
userName: 'Deadpool',
fi: '16195279J',
name: 'Wade',
socialName: 'DEADPOOL MARVEL',
street: 'WALL STREET',
city: 'New York',
businessTypeFk: 'florist',
provinceFk: 1
};
const newAccountWithoutEmail = JSON.parse(JSON.stringify(newAccount));
delete newAccountWithoutEmail.email;
beforeAll(async() => {
const activeCtx = {
@ -64,7 +56,7 @@ describe('Client Create', () => {
let error;
try {
const options = {transaction: tx};
await models.Client.createWithUser(newAccount2, options);
await models.Client.createWithUser(newAccountWithoutEmail, options);
await tx.rollback();
} catch (e) {