Skip to content

[9.x] Fix afterCommit and DatabaseTransactions #42502

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

Merged
merged 1 commit into from
May 25, 2022
Merged

[9.x] Fix afterCommit and DatabaseTransactions #42502

merged 1 commit into from
May 25, 2022

Conversation

ejunker
Copy link
Contributor

@ejunker ejunker commented May 24, 2022

Fix so that DB::afterCommit() works in tests that use the DatabaseTransactions trait.

This is based off of #41782 where Taylor added it to RefreshDatabase but forgot to update DatabaseTransactions

@ejunker ejunker changed the title [9.x] Fix afterCommit and RefreshDatabase [9.x] Fix afterCommit and DatabaseTransactions May 24, 2022
@taylorotwell taylorotwell merged commit 51cdabf into laravel:9.x May 25, 2022
@ejunker ejunker deleted the patch-1 branch May 25, 2022 16:33
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.

2 participants