- Login as teacher and create a forum.
- Add a discussion topic.
- Add a second discussion topic.
- Add a third discussion topic
- Add a fourth discussion topic
- Pin the first topic. Verify that it sorts to the top and is labelled "pinned."
- Pin the fourth discussion topic. Verify that it sorts to the top above the first pinned topic.
- Repeat above using "timed" discussions
- Backup and restore an activity and verify that it retains the pinned status for discussion