Refactor sidekiq adapter enqueue and enqueue_at methods
…_test_helper Don't need to explicitly set test_order it's :random default
…lumn :nodoc: rename_column in postgresql/schema_statements.rb [ci skip]
The old `test_create_bang_returns_falsy_when_join_record_has_errors` had a missleading name and was a duplicate of `test_save_should_not_raise_exception_when_join_record_has_errors`. Since it had an assertion on the return value I renamed it accordingly and got rid of the duplicate test.
Its already doc'ed in activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
added activejob in list [ci skip]
Let Sidekiq and Que set provider_job_id
Signed-off-by: Jeroen van Baarsen <email@example.com>
Changed to static value of id in comments [ci skip]
When a job is added to Sidekiq by ActiveJob, make sure we still can get the original job_id provider by Sidekiq. We do this by adding the sidekiq jid to provider_job_id field on the job object. Partly fixes #18821 Signed-off-by: Jeroen van Baarsen <firstname.lastname@example.org>
Get provider_job_id from DelayedJob
Example updated [ci skip]
Make sure that tests do not hardcode the default value. For example `test_instantiation_doesnt_try_to_require_corresponding_file` always restored the configuration to `true` regardless of what it's original value was. Extract a helper to make the global modification consistent across tests.
[skip ci] Fix typos in actionpack changelog and security guide