[ticket/12620] Use the test environment for the tests

PHPBB3-12620