test fixes
This commit is contained in:
@@ -161,7 +161,7 @@ describe('Workspace repositories', () => {
|
||||
})
|
||||
|
||||
afterEach(async () => {
|
||||
truncateTables(['workspaces'])
|
||||
await truncateTables(['workspaces'])
|
||||
})
|
||||
|
||||
it('returns all workspace members', async () => {
|
||||
@@ -209,7 +209,7 @@ describe('Workspace repositories', () => {
|
||||
})
|
||||
|
||||
afterEach(async () => {
|
||||
truncateTables(['workspaces'])
|
||||
await truncateTables(['workspaces'])
|
||||
})
|
||||
|
||||
it('limits search results to specified workspace', async () => {
|
||||
|
||||
@@ -117,7 +117,7 @@ describe('Workspace SSO', () => {
|
||||
})
|
||||
|
||||
afterEach(async () => {
|
||||
truncateTables(['user_sso_sessions'])
|
||||
await truncateTables(['user_sso_sessions'])
|
||||
})
|
||||
|
||||
describe('given a workspace with SSO configured', () => {
|
||||
|
||||
@@ -251,7 +251,7 @@ describe('Workspace SSO repositories', () => {
|
||||
})
|
||||
|
||||
afterEach(async () => {
|
||||
truncateTables(['user_sso_sessions'])
|
||||
await truncateTables(['user_sso_sessions'])
|
||||
})
|
||||
|
||||
it('returns an empty array if there are no sessions', async () => {
|
||||
|
||||
Reference in New Issue
Block a user