Skip to content

Commit 474ac4b

Browse files
committed
Fix sidekiq/testing deprecation
1 parent 3c5af4a commit 474ac4b

7 files changed

Lines changed: 2 additions & 6 deletions

test/models/event_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'test_helper'
2-
require 'sidekiq/testing'
32

43
class EventTest < ActiveSupport::TestCase
54
setup do

test/models/profile_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'test_helper'
2-
require 'sidekiq/testing'
32

43
class ProfileTest < ActiveSupport::TestCase
54
setup do

test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
# config.allow_http_connections_when_no_cassette = true
3939
end
4040

41+
Sidekiq.testing!(:fake)
42+
4143
class ActiveSupport::TestCase
4244
include SchemaHelper
4345

test/workers/edit_suggestion_worker_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'test_helper'
2-
require 'sidekiq/testing'
32

43
class EditSuggestionWorkerTest < ActiveSupport::TestCase
54

test/workers/geocoding_worker_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'test_helper'
2-
require 'sidekiq/testing'
32

43
class GeocodingWorkerTest < ActiveSupport::TestCase
54
test 'get coordinates for an event' do

test/workers/person_link_worker_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'test_helper'
2-
require 'sidekiq/testing'
32

43
class PersonLinkWorkerTest < ActiveSupport::TestCase
54
setup do

test/workers/source_test_worker_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'test_helper'
2-
require 'sidekiq/testing'
32

43
class SourceTestWorkerTest < ActiveSupport::TestCase
54
test 'test source' do

0 commit comments

Comments
 (0)