fix: refs #6404 remove fixtures after test
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Pablo Natek 2024-06-17 09:09:45 +02:00
parent c3d64b2358
commit 25afa80bab
2 changed files with 3 additions and 1 deletions

View File

@ -55,6 +55,8 @@ describe('MRWConfig createShipment()', () => {
afterAll(async() => { afterAll(async() => {
await cleanFixtures(); await cleanFixtures();
await models.Ticket.destroyAll(ticket1);
await models.Expedition.destroyAll(ticket1);
}); });
beforeEach(async() => { beforeEach(async() => {

View File

@ -162,7 +162,7 @@ module.exports = Self => {
const stmts = []; const stmts = [];
let stmt; let stmt;
stmts.push(`SET @_optimizer_search_depth = @@optimizer_search_depth`); stmts.push(`SET @_optimizer_search_depth = @@optimizer_search_depth`);
stmts.push(`SET SESSION optimizer_search_depth = 0`); stmts.push(`SET SESSION optimizer_search_depth = 0`);