Commit c643042a authored by James Lopez's avatar James Lopez

Fix project import error on releases

parent b569e76c
---
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
......
...@@ -78,6 +78,14 @@ describe Gitlab::ImportExport::ProjectTreeSaver do ...@@ -78,6 +78,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