Delete userWorkspace when removed from workspace (#13131)
Fixes https://github.com/twentyhq/twenty/issues/13024
This commit is contained in:
@ -102,7 +102,7 @@ describe('Core REST API Create Many endpoint', () => {
|
||||
method: 'post',
|
||||
path: `/batch/people`,
|
||||
body: requestBody,
|
||||
bearer: ADMIN_ACCESS_TOKEN,
|
||||
bearer: APPLE_JANE_ADMIN_ACCESS_TOKEN,
|
||||
})
|
||||
.expect(201)
|
||||
.expect((res) => {
|
||||
|
||||
@ -87,7 +87,7 @@ describe('Core REST API Create One endpoint', () => {
|
||||
method: 'post',
|
||||
path: `/people`,
|
||||
body: requestBody,
|
||||
bearer: ADMIN_ACCESS_TOKEN,
|
||||
bearer: APPLE_JANE_ADMIN_ACCESS_TOKEN,
|
||||
})
|
||||
.expect(201)
|
||||
.expect((res) => {
|
||||
|
||||
Reference in New Issue
Block a user