test: #3636680 Add missing test coverage for Batch API processing behaviour

Cover hook_batch_alter(), the destination query argument, the precedence of the redirect sources, non-progressive batches outside the Form API and the cleanup of the session after the last batch has finished.

Add the batch_test routes, callback and hook implementation these tests need. No runtime changes.

Closes #3636680

Merge request reports

Loading
Loading