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

Fix "Fix merge conflicts in usage ping"

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