Commit 64c8356e authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents 821778cd 27ed9d95
---
title: Fix project import error importing releases
merge_request: 25495
author:
type: fixed
...@@ -28,7 +28,6 @@ project_tree: ...@@ -28,7 +28,6 @@ project_tree:
- notes: - notes:
:author :author
- releases: - releases:
- :author
- :links - :links
- project_members: - project_members:
- :user - :user
......
...@@ -82,6 +82,14 @@ describe Gitlab::ImportExport::ProjectTreeSaver do ...@@ -82,6 +82,14 @@ describe Gitlab::ImportExport::ProjectTreeSaver do
expect(saved_project_json['releases']).not_to be_empty expect(saved_project_json['releases']).not_to be_empty
end end
it 'has no author on releases' do
expect(saved_project_json['releases'].first['author']).to be_nil
end
it 'has the author ID on releases' do
expect(saved_project_json['releases'].first['author_id']).not_to be_nil
end
it 'has issues' do it 'has issues' do
expect(saved_project_json['issues']).not_to be_empty expect(saved_project_json['issues']).not_to be_empty
end end
......
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