We have a corruptUnmigratable.vault we use to test that when a vault isn't migratable an error is displayed to the user.
But when the test runs it modifies this Unmigratable vault causing a Git diff.
These vaults need to remain in the repo (can't add them to.gitignore) so a solution could be to create temporary copies of the files, run the test, and then during the test cleanup delete such files.
We have a corrupt
Unmigratable.vault
we use to test that when a vault isn't migratable an error is displayed to the user. But when the test runs it modifies thisUnmigratable
vault causing a Git diff.These vaults need to remain in the repo (can't add them to
.gitignore
) so a solution could be to create temporary copies of the files, run the test, and then during the test cleanup delete such files.