Skip to content

[9.x] Fix afterCommit and DatabaseTransactions#42502

Merged
taylorotwell merged 1 commit into
laravel:9.xfrom
ejunker:patch-1
May 25, 2022
Merged

[9.x] Fix afterCommit and DatabaseTransactions#42502
taylorotwell merged 1 commit into
laravel:9.xfrom
ejunker:patch-1

Conversation

@ejunker
Copy link
Copy Markdown
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