-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
ComposerTask tests don't need Composer on the path #1427
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1427 +/- ##
=========================================
Coverage 54.27% 54.27%
Complexity 9119 9119
=========================================
Files 467 467
Lines 22153 22153
=========================================
Hits 12024 12024
Misses 10129 10129 Continue to review full report at Codecov.
|
|
||
$pathComposer = $o->getComposer(); | ||
|
||
putenv("PATH=$orgPath"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK windows uses Path
and not PATH
🤔 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows isn't case sensitive so Path, PATH, and pAtH would all work.
Fixes #1426
Split out testing SetComposer and GetComposer methods. Simulate Composer
existing on the path.