Skip to content

Replace 'Sidekiq::Testing.inline!' with 'perform_enqueued_jobs'

What does this MR do?

Replaces Sidekiq::Testing.inline! with perform_enqueued_jobs in specs.

Sidekiq::Testing.inline! is a Sidekiq method.
Using this method violates the Dependency inversion principle.

Are there points in the code the reviewer needs to double check?

No.

Why was this MR needed?

Technical debt.

Screenshots (if relevant)

No.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #22991 (closed)

Edited by blackst0ne

Merge request reports

Loading