Commit eb127ba6 authored by Mark Chao's avatar Mark Chao

Resolve ce-ee conflict

parent b276b965
...@@ -17,10 +17,7 @@ module Gitlab ...@@ -17,10 +17,7 @@ module Gitlab
# @deprecated # @deprecated
MASTER = MAINTAINER MASTER = MAINTAINER
OWNER = 50 OWNER = 50
<<<<<<< HEAD
ADMIN = 60 ADMIN = 60
=======
>>>>>>> upstream/master
# Branch protection settings # Branch protection settings
PROTECTION_NONE = 0 PROTECTION_NONE = 0
......
...@@ -22,10 +22,7 @@ describe 'Issue Boards', :js do ...@@ -22,10 +22,7 @@ describe 'Issue Boards', :js do
end end
before do before do
<<<<<<< HEAD
stub_licensed_features(multiple_issue_assignees: false) stub_licensed_features(multiple_issue_assignees: false)
=======
>>>>>>> upstream/master
project.add_maintainer(user) project.add_maintainer(user)
sign_in(user) sign_in(user)
......
...@@ -13,11 +13,8 @@ describe 'New/edit issue', :js do ...@@ -13,11 +13,8 @@ describe 'New/edit issue', :js do
let!(:issue) { create(:issue, project: project, assignees: [user], milestone: milestone) } let!(:issue) { create(:issue, project: project, assignees: [user], milestone: milestone) }
before do before do
<<<<<<< HEAD
stub_licensed_features(multiple_issue_assignees: false, issue_weights: false) stub_licensed_features(multiple_issue_assignees: false, issue_weights: false)
=======
>>>>>>> upstream/master
project.add_maintainer(user) project.add_maintainer(user)
project.add_maintainer(user2) project.add_maintainer(user2)
sign_in(user) sign_in(user)
......
...@@ -17,10 +17,7 @@ describe "User creates a merge request", :js do ...@@ -17,10 +17,7 @@ describe "User creates a merge request", :js do
before do before do
project.add_maintainer(user) project.add_maintainer(user)
<<<<<<< HEAD
project.add_maintainer(approver) project.add_maintainer(approver)
=======
>>>>>>> upstream/master
sign_in(user) sign_in(user)
project.approvers.create(user_id: approver.id) project.approvers.create(user_id: approver.id)
......
...@@ -17,12 +17,9 @@ describe 'Projects (JavaScript fixtures)', type: :controller do ...@@ -17,12 +17,9 @@ describe 'Projects (JavaScript fixtures)', type: :controller do
end end
before do before do
<<<<<<< HEAD
# EE-specific start # EE-specific start
stub_licensed_features(variable_environment_scope: true) stub_licensed_features(variable_environment_scope: true)
# EE specific end # EE specific end
=======
>>>>>>> upstream/master
project.add_maintainer(admin) project.add_maintainer(admin)
sign_in(admin) sign_in(admin)
end end
......
...@@ -56,10 +56,7 @@ describe API::ProtectedBranches do ...@@ -56,10 +56,7 @@ describe API::ProtectedBranches do
expect(json_response['name']).to eq(branch_name) expect(json_response['name']).to eq(branch_name)
expect(json_response['push_access_levels'][0]['access_level']).to eq(::Gitlab::Access::MAINTAINER) expect(json_response['push_access_levels'][0]['access_level']).to eq(::Gitlab::Access::MAINTAINER)
expect(json_response['merge_access_levels'][0]['access_level']).to eq(::Gitlab::Access::MAINTAINER) expect(json_response['merge_access_levels'][0]['access_level']).to eq(::Gitlab::Access::MAINTAINER)
<<<<<<< HEAD
expect(json_response['unprotect_access_levels']).to eq([]) expect(json_response['unprotect_access_levels']).to eq([])
=======
>>>>>>> upstream/master
end end
context 'when protected branch does not exist' do context 'when protected branch does not exist' do
...@@ -149,10 +146,7 @@ describe API::ProtectedBranches do ...@@ -149,10 +146,7 @@ describe API::ProtectedBranches do
expect(json_response['name']).to eq(branch_name) expect(json_response['name']).to eq(branch_name)
expect(json_response['push_access_levels'][0]['access_level']).to eq(Gitlab::Access::MAINTAINER) expect(json_response['push_access_levels'][0]['access_level']).to eq(Gitlab::Access::MAINTAINER)
expect(json_response['merge_access_levels'][0]['access_level']).to eq(Gitlab::Access::MAINTAINER) expect(json_response['merge_access_levels'][0]['access_level']).to eq(Gitlab::Access::MAINTAINER)
<<<<<<< HEAD
expect(json_response['unprotect_access_levels'][0]['access_level']).to eq(Gitlab::Access::MAINTAINER) expect(json_response['unprotect_access_levels'][0]['access_level']).to eq(Gitlab::Access::MAINTAINER)
=======
>>>>>>> upstream/master
end end
it 'protects a single branch and developers can push' do it 'protects a single branch and developers can push' do
......
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