Skip to content

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