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
- Log in as teacher, edit the single template for the database activity and add an ##export## tag.
- Log in as a student, access the database activity and try exporting one of your entries, selecting file download as the portfolio.
- Save the file locally then open it and check that all data has been exported correctly.
- View an entry made by another student and check that you are unable to export it.