1. Log in as a teacher, access a course then in the settings, set 'Number of announcements' to 2.
2. Create 3 new discussions in the news forum.
3. Check that the two most recent discussion subjects are displayed in the Latest announcements block on the course page.
4. In the course settings, set 'Number of announcements' to 0.
5. Check that the Latest announcements block is no longer displayed.