Commit fe3acff3 authored by Stan Hu's avatar Stan Hu

Merge branch '56052-fix-failing-operations-settings-tests' into 'master'

Mock error_tracking_setting to fix tests on failing master

See merge request gitlab-org/gitlab-ee!9062
parents c6aee9a1 a1f37c76
...@@ -4,11 +4,13 @@ require 'spec_helper' ...@@ -4,11 +4,13 @@ require 'spec_helper'
describe 'projects/settings/operations/show' do describe 'projects/settings/operations/show' do
let(:project) { create(:project, :repository) } let(:project) { create(:project, :repository) }
let(:error_tracking_setting) { create(:project_error_tracking_setting, project: project) }
before do before do
assign(:project, project) assign(:project, project)
assign(:repository, project.repository) assign(:repository, project.repository)
allow(view).to receive(:current_ref).and_return('master') allow(view).to receive(:current_ref).and_return('master')
allow(view).to receive(:error_tracking_setting).and_return(error_tracking_setting)
stub_licensed_features(tracing: true) stub_licensed_features(tracing: true)
end end
......
...@@ -3446,6 +3446,9 @@ msgstr "" ...@@ -3446,6 +3446,9 @@ msgstr ""
msgid "Error Reporting and Logging" msgid "Error Reporting and Logging"
msgstr "" msgstr ""
msgid "Error Tracking"
msgstr ""
msgid "Error creating epic" msgid "Error creating epic"
msgstr "" msgstr ""
...@@ -10909,12 +10912,6 @@ msgstr "" ...@@ -10909,12 +10912,6 @@ msgstr ""
msgid "register" msgid "register"
msgstr "" msgstr ""
msgid "quick actions"
msgstr ""
msgid "register"
msgstr ""
msgid "remaining" msgid "remaining"
msgstr "" msgstr ""
......
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