DEV: Replace deprecated queue_jobs site setting in tests (#88)

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.
This commit is contained in:
Ted Johansson 2023-10-27 10:47:12 +08:00 committed by GitHub
parent 2cf2e195db
commit 829fc31037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ describe OAuth2BasicAuthenticator do
describe "avatar downloading" do
before do
SiteSetting.queue_jobs = true
Jobs.run_later!
SiteSetting.oauth2_fetch_user_details = true
SiteSetting.oauth2_email_verified = true
end