Commit 378358ff authored by Nick Thomas's avatar Nick Thomas

Fix "Fix merge conflicts in usage ping"

parent 353e43b4
......@@ -63,7 +63,6 @@ module Gitlab
service_desk_issues: Issue.where(project: projects_with_service_desk,
author: User.support_bot,
confidential: true).count
}
}
end
......
......@@ -6,13 +6,8 @@ describe GitlabUsagePingWorker do
it "sends POST request" do
stub_application_setting(usage_ping_enabled: true)
<<<<<<< HEAD
stub_request(:post, "https://version.gitlab.com/usage_data")
.to_return(status: 200, body: '', headers: {})
=======
stub_request(:post, "https://version.gitlab.com/usage_data").
to_return(status: 200, body: '', headers: {})
>>>>>>> ce/master
expect(Gitlab::UsageData).to receive(:to_json).with({ force_refresh: true }).and_call_original
expect(subject).to receive(:try_obtain_lease).and_return(true)
......
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