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

ComposerTask tests don't need Composer on the path #1427

Merged
merged 6 commits into from
Nov 8, 2020
Merged

ComposerTask tests don't need Composer on the path #1427

merged 6 commits into from
Nov 8, 2020

Conversation

BlairCooper
Copy link
Contributor

Fixes #1426

Split out testing SetComposer and GetComposer methods. Simulate Composer
existing on the path.

Fixes #1426

Split out testing SetComposer and GetComposer methods. Simulate Composer
existing on the path.
Fixes #1426

Split out testing SetComposer and GetComposer methods. Simulate Composer
existing on the path.
@codecov
Copy link

codecov bot commented Nov 8, 2020

Codecov Report

Merging #1427 (62d045e) into master (8c0fb0f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c0fb0f...62d045e. Read the comment docs.


$pathComposer = $o->getComposer();

putenv("PATH=$orgPath");
Copy link
Member

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 🤔 ?

Copy link
Contributor Author

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.

@siad007
Copy link
Member

siad007 commented Nov 8, 2020

@siad007 siad007 removed the feedback label Nov 8, 2020
@siad007 siad007 added this to the 3.0.0-rc1 milestone Nov 8, 2020
@siad007 siad007 merged commit 50b7930 into phingofficial:master Nov 8, 2020
@BlairCooper BlairCooper deleted the ComposerTaskTest branch November 9, 2020 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

ComposerTask test failing if Composer isn't on the path
2 participants