Skip to content

[5.x] Only open files in the tests directory when converting to Pest #414

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
Mar 31, 2025

Conversation

tonysm
Copy link
Contributor

@tonysm tonysm commented Mar 31, 2025

Changed

  • When it runs the pest installation function, all files in the application's directory will be opened so it removes the uses(RefreshDatabase::class) line. But it only needs to open the test files for that.

Context: I am working on the Hotwire Starter Kit and it comes with the Tailwind CSS Laravel, which downloads the Tailwind CLI binary, so the installer was dying due to exhausted memory.

@taylorotwell taylorotwell merged commit 8feb97c into laravel:master Mar 31, 2025
20 checks passed
@tonysm tonysm deleted the fix-opening-all-files branch March 31, 2025 14:14
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