[ticket/12170] Test for 12170

PHPBB3-12170
Merge remote-tracking branch 'exreaction/ticket/12170' into ticket/12170