mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02:00
strip duplicated test
This commit is contained in:
parent
8c82e4d0a0
commit
c3b92ca837
@ -45,19 +45,3 @@ test('should actually do something transactional mode', async () => {
|
|||||||
});
|
});
|
||||||
expect(createdGroup).toBeDefined();
|
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();
|
|
||||||
});
|
|
||||||
|
Loading…
Reference in New Issue
Block a user