[ticket/12270] Fixed tests

PHPBB3-12270