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:
- notes:
:author
- releases:
- :author
- :links
- project_members:
- :user
......
......@@ -78,6 +78,14 @@ describe Gitlab::ImportExport::ProjectTreeSaver do
expect(saved_project_json['releases']).not_to be_empty
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
expect(saved_project_json['issues']).not_to be_empty
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