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 613b28e
Showing 1 changed file with 4 additions and 3 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 @@ -27,10 +27,11 @@ afterAll(async () => {
})

describe('Flow API for Worker', () => {
describe('Get Flow form Worker', () => {
describe('Get Flow from 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 613b28e

Please sign in to comment.