Delete userWorkspace when removed from workspace (#13131)
Fixes https://github.com/twentyhq/twenty/issues/13024
This commit is contained in:
@ -18,7 +18,7 @@ describe('deleteUser', () => {
|
||||
|
||||
await client
|
||||
.post('/graphql')
|
||||
.set('Authorization', `Bearer ${ADMIN_ACCESS_TOKEN}`)
|
||||
.set('Authorization', `Bearer ${APPLE_JANE_ADMIN_ACCESS_TOKEN}`)
|
||||
.send(query)
|
||||
.expect((res) => {
|
||||
expect(res.body.data).toBeNull();
|
||||
|
||||
Reference in New Issue
Block a user