From c3b92ca837729c902052ab940b5685edb1638f2a Mon Sep 17 00:00:00 2001 From: sighphyre Date: Thu, 20 Oct 2022 08:36:23 +0200 Subject: [PATCH] strip duplicated test --- src/test/transactional.test.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/test/transactional.test.ts b/src/test/transactional.test.ts index 944da64ff3..9beecad1f5 100644 --- a/src/test/transactional.test.ts +++ b/src/test/transactional.test.ts @@ -45,19 +45,3 @@ test('should actually do something transactional mode', async () => { }); expect(createdGroup).toBeDefined(); }); - -test('should actually do something transactional mode', async () => { - await db.db.transaction(async (trx) => { - await stores.groupStore.transactional(trx).create({ - name: 'some_other_group', - description: 'admin_group', - mappingsSSO: ['admin'], - }); - }); - - const groups = await stores.groupStore.getAll(); - const createdGroup = groups.find((group) => { - return group.name === 'some_other_group'; - }); - expect(createdGroup).toBeDefined(); -});