[ticket/12661] Fix template test

PHPBB3-12661