This test requires the following:
- Portfolios and the file download portfolio plugin to be enabled for the site
- A database activity (with Approval required set to No) containing entries from at least two students
1. Login as teacher, edit the single template for the database activity and add an ##export## tag.
2. Login as a student, access the database activity and try exporting one of your entries, selecting file download as the portfolio.
3. Save the file locally then open it and check that all data has been exported correctly.
4. View an entry made by another student and check that you are unable to export it.