[5.4] Add ability to keep old files when testing uploads [second attempt] #19859
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi guys,
This is my second attempt to get this behavior into the framework.
This PR had been closed in the past due to the uses of Boolean variables. It does not introduce breaking changes because it keeps the actual behavior by default.
They way how it can be used is like so:
Whether users want to keep the uploaded files when testing and make assertions to them.
Whether you want to keep the actual behavior.
Even though I will understand if this PR is not accepted, I would like to see something similar to this in the framework.
@taylorotwell I will appreciate your thoughts on this.
Thanks,