Skip to content

Commit

Permalink
test: fix flow worker
Browse files Browse the repository at this point in the history
  • Loading branch information
abuaboud committed May 9, 2024
1 parent 3e71471 commit a7aa561
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -6,8 +6,8 @@ import { generateMockToken } from '../../../helpers/auth'
import {
createMockFlow,
createMockFlowVersion,
createMockPlatformWithOwner,
createMockProject,
mockBasicSetup,
} from '../../../helpers/mocks'
import {
apId,
Expand All @@ -30,7 +30,8 @@ describe('Flow API for Worker', () => {
describe('Get Flow form Worker', () => {
it('List other flow for another project', async () => {
// arrange
const { mockPlatform, mockOwner } = createMockPlatformWithOwner()
const { mockPlatform, mockOwner } = await mockBasicSetup()

const mockProject = createMockProject({
platformId: mockPlatform.id,
ownerId: mockOwner.id,
Expand Down

0 comments on commit a7aa561

Please sign in to comment.