Fix project import error on releases
This commit is contained in:
parent
b569e76c15
commit
c643042a49
3 changed files with 13 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue