Commit 64a2badf authored by blackst0ne's avatar blackst0ne Committed by Rémy Coutable

Make 'Sidekiq::Testing.fake!' mode as default

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 7754808a
---
title: Make 'Sidekiq::Testing.fake!' mode as default
merge_request: 31662
author: "@blackst0ne"
type: other
......@@ -51,10 +51,6 @@ describe Projects::MirrorsController do
sign_in(project.owner)
end
around do |example|
Sidekiq::Testing.fake! { example.run }
end
context 'With valid URL for a push' do
let(:remote_mirror_attributes) do
{ "0" => { "enabled" => "0", url: 'https://updated.example.com' } }
......
# frozen_string_literal: true
require 'sidekiq/testing/inline'
require 'sidekiq/testing'
# If Sidekiq::Testing.inline! is used, SQL transactions done inside
# Sidekiq worker are included in the SQL query limit (in a real
......
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