Commit 28974de9 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

tests: fix failing test due to missing jobs_enabled field

parent f41c7bed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ def mock_empty_project(project_id, archived: bool = False, project_access: int =

    responses.add(responses.GET, f'http://gitlab.test/api/v4/projects/{project_id}', status=200, json=
    {'id': project_id, 'path': f'project_{project_id}', 'path_with_namespace': f'path/to/group/project_{project_id}',
     'default_branch': 'main', 'archived': archived, 'permissions': permission }
     'default_branch': 'main', 'archived': archived, 'permissions': permission, 'jobs_enabled': True }
    )
    responses.add(responses.GET, f'http://gitlab.test/api/v4/projects/{project_id}/repository/files/.butlercfg.yaml?ref=main', status=404)
    responses.add(responses.GET, f'http://gitlab.test/api/v4/projects/{project_id}/repository/files/.butlercfg.yml?ref=main', status=404)