Skip to content

Commit

Permalink
DEV: Replace deprecated queue_jobs site setting in tests (#119)
Browse files Browse the repository at this point in the history
The #queue_jobs= method on site settings has been deprecated and replaced by Jobs.run_later! and Jobs.run_immediately!. This PR replaces usages in this plugin so we can remove the fallback in core.
  • Loading branch information
Drenmi committed Oct 27, 2023
1 parent a7c7133 commit 6c07e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/serializers/post_serializer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

before do
SiteSetting.translator_enabled = true
SiteSetting.queue_jobs = true
Jobs.run_later!
end

shared_examples "detected_lang_does_not_match_user_locale" do
Expand Down

0 comments on commit 6c07e6d

Please sign in to comment.