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

[9.x] Allow bootable test traits to teardown #42521

Merged
merged 1 commit into from
May 26, 2022
Merged

[9.x] Allow bootable test traits to teardown #42521

merged 1 commit into from
May 26, 2022

Conversation

ziadoz
Copy link
Contributor

@ziadoz ziadoz commented May 25, 2022

This allows the recently added bootable traits to teardown when the test is done. In my case I've got a trait that creates a database and populates it with a large amount of data for a testcase. When the test is done it would be nice to be able to clean things up.

I based how this works on the PR here: #39883

@ziadoz ziadoz changed the title Allow bootable test traits to teardown [9.x] Allow bootable test traits to teardown May 25, 2022
@taylorotwell taylorotwell merged commit a4723ec into laravel:9.x May 26, 2022
@ziadoz ziadoz deleted the bootable-test-trait-teardown branch May 26, 2022 13:42
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