ci: Simplify DB truncate in tests (no-changelog) (#5243)
This commit is contained in:
committed by
GitHub
parent
0c70a40317
commit
ac460aa841
@@ -49,8 +49,7 @@ beforeAll(async () => {
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
await testDb.truncate(['SharedWorkflow', 'SharedCredentials']);
|
||||
await testDb.truncate(['User', 'Workflow', 'Credentials']);
|
||||
await testDb.truncate(['SharedWorkflow', 'SharedCredentials', 'Workflow', 'Credentials', 'User']);
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
|
||||
Reference in New Issue
Block a user