1. Login as a teacher and create a forum with a time period for blocking set.
2. Set a post threshold for blocking and for warning.
3. Ensure the student role does not have capability "mod/forum:postwithoutthrottling" within the forum.
4. Login as a student and check that a warning is given after posting a certain number of posts.
The warning is never given to the student. I have checked that the student role does not have the capability "mod/forum:postwithoutthrottling" within the forum, but it's stil non-functional. f