Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Test the model:prune command pruning soft deleted models #40023

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

derekmd
Copy link
Contributor

@derekmd derekmd commented Dec 13, 2021

Follow-up to #39991

Test the command model:prune (#37889) and its --pretend option (#38945) on soft-deleted models which currently lack test coverage.

@derekmd derekmd marked this pull request as ready for review December 13, 2021 21:52
@derekmd derekmd force-pushed the model-prune-soft-deleted-tests branch from 4e8b3e7 to 6fcdc97 Compare December 14, 2021 09:33
Adding the --pretend option introduced a bug on soft-deleted models
because there wasn't any test coverage. Ensure yesterday's bug fix
isn't mistakenly changed in the future.
@derekmd derekmd force-pushed the model-prune-soft-deleted-tests branch from 6fcdc97 to 7c0a5f6 Compare December 14, 2021 09:34
@taylorotwell taylorotwell merged commit c122970 into laravel:8.x Dec 14, 2021
@derekmd derekmd deleted the model-prune-soft-deleted-tests branch December 14, 2021 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants