[feature/api] Updated functional tests

PHPBB3-11595