[ticket/10714] Fix missing parameter and global phpbb_log in unit tests

PHPBB3-10714