Commit f74005a9 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '217404-move-protected-environments-fixtures-to-complex-json' into 'master'

Move fixtures to another file

Closes #217404

See merge request gitlab-org/gitlab!31753
parents 637e8003 6b6706f8
......@@ -81,7 +81,7 @@ describe Gitlab::ImportExport::Project::TreeRestorer do
end
before do
setup_import_export_config('designs')
setup_import_export_config('complex')
restored_project_json
end
......
......@@ -7444,6 +7444,26 @@
]
}
],
"protected_environments": [
{
"id": 1,
"project_id": 9,
"created_at": "2017-10-19T15:36:23.466Z",
"updated_at": "2017-10-19T15:36:23.466Z",
"name": "production",
"deploy_access_levels": [
{
"id": 1,
"protected_environment_id": 1,
"created_at": "2017-10-19T15:36:23.466Z",
"updated_at": "2017-10-19T15:36:23.466Z",
"access_level": 40,
"user_id": 1,
"group_id": null
}
]
}
],
"protected_tags": [
{
"id": 1,
......
{ "id": 1, "project_id": 9, "created_at": "2017-10-19T15:36:23.466Z", "updated_at": "2017-10-19T15:36:23.466Z", "name": "production", "deploy_access_levels": [ { "id": 1, "protected_environment_id": 1, "created_at": "2017-10-19T15:36:23.466Z", "updated_at": "2017-10-19T15:36:23.466Z", "access_level": 40, "user_id": 1, "group_id": null } ] }
......@@ -463,22 +463,7 @@
],
"protected_environments": [
{
"id": 14,
"created_at": "2017-10-19T15:36:23.466Z",
"updated_at": "2017-10-19T15:36:23.466Z",
"name": "production",
"deploy_access_levels": [
{
"id": 21,
"created_at": "2017-10-19T15:36:23.466Z",
"updated_at": "2017-10-19T15:36:23.466Z",
"access_level": 40,
"user_id": 1,
"group_id": null
}
]
}
],
"protected_tags":[
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment