diff --git a/tests/ap.test.js b/tests/ap.test.js index f8c09461..d284a552 100644 --- a/tests/ap.test.js +++ b/tests/ap.test.js @@ -44,7 +44,7 @@ beforeAll(async () => { await sequelize.query('DELETE FROM filters') await sequelize.query('DELETE FROM collections') await sequelize.query('DELETE FROM notifications') - await sequelize.query('DELETE FROM event_notifications') + await sequelize.query('DELETE FROM tasks') // await sequelize.query('PRAGMA foreign_keys = ON') } catch (e) { console.error(e) diff --git a/tests/app.test.js b/tests/app.test.js index 2dc44d30..ad8ac566 100644 --- a/tests/app.test.js +++ b/tests/app.test.js @@ -44,7 +44,7 @@ beforeAll(async () => { await sequelize.query('DELETE FROM filters') await sequelize.query('DELETE FROM collections') await sequelize.query('DELETE FROM notifications') - await sequelize.query('DELETE FROM event_notifications') + await sequelize.query('DELETE FROM tasks') // await sequelize.query('PRAGMA foreign_keys = ON') } catch (e) { // console.error(e) diff --git a/tests/recurrent.test.js b/tests/recurrent.test.js index 34e05721..41203171 100644 --- a/tests/recurrent.test.js +++ b/tests/recurrent.test.js @@ -38,7 +38,7 @@ beforeAll(async () => { await sequelize.query('DELETE FROM filters') await sequelize.query('DELETE FROM collections') await sequelize.query('DELETE FROM notifications') - await sequelize.query('DELETE FROM event_notifications') + await sequelize.query('DELETE FROM tasks') // await sequelize.query('PRAGMA foreign_keys = ON') } catch (e) { console.error(e)