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:
parent
2cf2e195db
commit
829fc31037
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue