Delete user with right permission

This commit is contained in:
Hongbo Wu
2022-08-10 16:36:31 +08:00
parent a3d536fcf1
commit 3a39ec55cc
33 changed files with 111 additions and 119 deletions

View File

@ -30,7 +30,7 @@ describe('Integrations resolvers', () => {
})
after(async () => {
await deleteTestUser(loginUser.name)
await deleteTestUser(loginUser.id)
})
describe('setIntegration API', () => {
@ -199,7 +199,7 @@ describe('Integrations resolvers', () => {
})
after(async () => {
await deleteTestUser(otherUser.name)
await deleteTestUser(otherUser.id)
await getRepository(Integration).delete({
id: existingIntegration.id,
})