#7919 delete if ticketRefund #3091
|
@ -114,7 +114,7 @@ describe('ticket setDeleted()', () => {
|
||||||
expect(error.message).not.toContain('Tickets with associated refunds');
|
expect(error.message).not.toContain('Tickets with associated refunds');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should delete a refund ticket from ticketRefund table', async() => {
|
it('should delete the refund - original ticket relation', async() => {
|
||||||
const tx = await models.Ticket.beginTransaction({});
|
const tx = await models.Ticket.beginTransaction({});
|
||||||
try {
|
try {
|
||||||
const options = {transaction: tx};
|
const options = {transaction: tx};
|
||||||
|
|
Loading…
Reference in New Issue