- Guest user attempting to access to single-activity course.
- Not enrolled user attempt to access to single-activity course.
Both should, by default, land to the "cannot access/enrol" page.
Adds new behat scenarios to cover the activity navigation controls and
the ability to navigate through (hidden) activities as a teacher when
the course has multiple activities but it also uses the single activity
format.
This change enables the gherkinlint rule to require a new line at the
end of the file. This change is in keeping with existing Moodle coding
style guidelines.