[ticket/12270] Fixed tests not working

The success message wasn't output correctly if we were approving
topics.

PHPBB3-12270