Skip to content
Snippets Groups Projects
Verified Commit 2920f1c4 authored by blackst0ne's avatar blackst0ne Committed by Rémy Coutable
Browse files

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


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 28fd62f4
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !15479. Comments created here will be created in the context of that merge request.
---
title: Make 'Sidekiq::Testing.fake!' mode as default
merge_request: 31662
author: "@blackst0ne"
type: other
...@@ -51,10 +51,6 @@ ...@@ -51,10 +51,6 @@
sign_in(project.owner) sign_in(project.owner)
end end
around do |example|
Sidekiq::Testing.fake! { example.run }
end
context 'With valid URL for a push' do context 'With valid URL for a push' do
let(:remote_mirror_attributes) do let(:remote_mirror_attributes) do
{ "0" => { "enabled" => "0", url: 'https://updated.example.com' } } { "0" => { "enabled" => "0", url: 'https://updated.example.com' } }
......
# frozen_string_literal: true # frozen_string_literal: true
require 'sidekiq/testing/inline' require 'sidekiq/testing'
# If Sidekiq::Testing.inline! is used, SQL transactions done inside # If Sidekiq::Testing.inline! is used, SQL transactions done inside
# Sidekiq worker are included in the SQL query limit (in a real # Sidekiq worker are included in the SQL query limit (in a real
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment