From badaac8527052ddb463bacf2bc27288f402c4d96 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Wed, 21 Jun 2023 14:33:41 +0200 Subject: [PATCH] activate clean database again --- .../middleware/notifications/notificationsMiddleware.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/middleware/notifications/notificationsMiddleware.spec.ts b/backend/src/middleware/notifications/notificationsMiddleware.spec.ts index b82d3e775..f0857ee29 100644 --- a/backend/src/middleware/notifications/notificationsMiddleware.spec.ts +++ b/backend/src/middleware/notifications/notificationsMiddleware.spec.ts @@ -62,7 +62,7 @@ beforeAll(async () => { }) afterAll(async () => { - // await cleanDatabase() + await cleanDatabase() driver.close() }) @@ -89,7 +89,7 @@ beforeEach(async () => { // TODO: avoid database clean after each test in the future if possible for performance and flakyness reasons by filling the database step by step, see issue https://github.com/Ocelot-Social-Community/Ocelot-Social/issues/4543 afterEach(async () => { - // await cleanDatabase() + await cleanDatabase() }) describe('notifications', () => {