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] Add assertNotSoftDeleted Method #38886

Merged
merged 2 commits into from
Sep 21, 2021
Merged

[8.x] Add assertNotSoftDeleted Method #38886

merged 2 commits into from
Sep 21, 2021

Conversation

xiCO2k
Copy link
Contributor

@xiCO2k xiCO2k commented Sep 21, 2021

This PR adds the capability to test if a model was not marked as soft deleted.

@themsaid suggested to contribute with this method, on yesterday laravel live stream.

Hope that helps.

Thanks.

@taylorotwell taylorotwell merged commit cb72e7b into laravel:8.x Sep 21, 2021
@xiCO2k
Copy link
Contributor Author

xiCO2k commented Sep 21, 2021

Thanks for the merge

@xiCO2k xiCO2k deleted the assert-not-soft-deleted branch September 28, 2021 19:04
@xiCO2k
Copy link
Contributor Author

xiCO2k commented Oct 1, 2021 via email

victorvilella pushed a commit to cdsistemas/framework that referenced this pull request Oct 12, 2021
* Add assertNotSoftDelete Method

* add test

Co-authored-by: Taylor Otwell <taylorotwell@gmail.com>
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.

None yet

2 participants