[ticket/12090] Change redirect tests to use route()

PHPBB3-12090