Skip to content

Commit e18f77e

Browse files
committed
Fix sidekiq/testing deprecation
1 parent 271d58b commit e18f77e

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
@@ -39,6 +39,8 @@
3939
# config.allow_http_connections_when_no_cassette = true
4040
end
4141

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

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)