(status: number, message: string, workspacePermission: string | null = null)
| 53 | }) |
| 54 | |
| 55 | const denied = (status: number, message: string, workspacePermission: string | null = null) => ({ |
| 56 | allowed: false, |
| 57 | status, |
| 58 | message, |
| 59 | workflow: mockWorkflow, |
| 60 | workspacePermission, |
| 61 | }) |
| 62 | |
| 63 | describe('validateWorkflowPermissions', () => { |
| 64 | beforeEach(() => { |