- Without the patch applied:
- Assign a default picture to a project which is missing one
- Navigate to the file and note that it is temporary (if it isn't, change the colour+icon combination of the project to one which hasn't been used before and repeat from the start)
- Apply the patch
- Assign the default picture to the project again
- Navigate to the file again and note that it is no longer temporary
Plus added a unit test. It is a little ugly due to how data types seem to work in LiskDAO.