Skip to content

Resolve #3088468 "Quiz not redirecting"

Related to #3088468

In Drupal 7 if session variable was unavailable during a test the user was redirected. From Drupal 8 the situation is handled by a status 403 'access denied' page with no redirect. This merge uses an Event listener triggered by the 403 event to perform a redirect instead.

This merge contains a test that tests the situation and asserts whether the user gets a 403 status access denied.

Edited by andrew farquharson

Merge request reports