Skip to content
This repository was archived by the owner on Nov 30, 2026. It is now read-only.

Isolate tests from terminal environment - #298

Merged
joetannenbaum merged 2 commits into
laravel:mainfrom
JonPurvis:fix/isolate-tests-from-terminal-environment
Nov 24, 2026
Merged

joetannenbaum merged 2 commits into
laravel:mainfrom
JonPurvis:fix/isolate-tests-from-terminal-environment

Conversation

@JonPurvis

Copy link
Copy Markdown
Contributor

The test suite failed most of its tests when run from a normal terminal: commands in tests ran interactively, so the skills-install middleware and prompts kicked in. It only passed where CI or agent env vars were set.

This PR makes every test run behave like CI (CI=true, NO_COLOR=1) and makes ContextDetectorTest independent of the agent env vars set in the shell it runs from.

@joetannenbaum

Copy link
Copy Markdown
Collaborator

Thank you!

@joetannenbaum
joetannenbaum merged commit 170f30b into laravel:main Nov 24, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants