Commit f0e55c26 authored by Sean McGivern's avatar Sean McGivern

Fix conflicts from /duplicate quick action

parent 99b41743
......@@ -19,15 +19,11 @@ module SystemNoteHelper
'discussion' => 'icon_comment_o',
'moved' => 'icon_arrow_circle_o_right',
'outdated' => 'icon_edit',
<<<<<<< HEAD
'duplicate' => 'icon_clone',
'approved' => 'icon_check',
'unapproved' => 'icon_fa_close',
'relate' => 'icon_anchor',
'unrelate' => 'icon_anchor_broken'
=======
'duplicate' => 'icon_clone'
>>>>>>> upstream/master
}.freeze
def icon_for_system_note(note)
......
......@@ -552,7 +552,6 @@ module SystemNoteService
create_note(NoteSummary.new(noteable, project, author, body, action: 'moved'))
end
<<<<<<< HEAD
#
# noteable - Noteable object
# noteable_ref - Referenced noteable object
......@@ -607,8 +606,6 @@ module SystemNoteService
create_note(NoteSummary.new(noteable, noteable.project, user, body, action: 'unapproved'))
end
=======
>>>>>>> upstream/master
# Called when a Noteable has been marked as a duplicate of another Issue
#
# noteable - Noteable object
......
......@@ -119,7 +119,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
end
end
<<<<<<< HEAD
describe 'adding a weight from a note' do
let(:issue) { create(:issue, project: project) }
......@@ -196,8 +195,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
end
end
=======
>>>>>>> upstream/master
describe 'mark issue as duplicate' do
let(:issue) { create(:issue, project: project) }
let(:original_issue) { create(:issue, project: project) }
......
......@@ -263,7 +263,6 @@ describe QuickActions::InterpretService, services: true do
end
end
<<<<<<< HEAD
shared_examples 'weight command' do
it 'populates weight: 5 if content contains /weight 5' do
_, updates = service.execute(content, issuable)
......@@ -281,8 +280,6 @@ describe QuickActions::InterpretService, services: true do
end
end
=======
>>>>>>> upstream/master
shared_examples 'duplicate command' do
it 'fetches issue and populates canonical_issue_id if content contains /duplicate issue_reference' do
issue_duplicate # populate the issue
......
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