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

Fix open task test #1637

Merged
merged 28 commits into from
Sep 5, 2021
Merged

Fix open task test #1637

merged 28 commits into from
Sep 5, 2021

Conversation

jawira
Copy link
Contributor

@jawira jawira commented Sep 2, 2021

OpenTask doesn't fail anymore when an invalid path is used.

This is because "spawn=true", this makes ExecTask (used within OpenTask) always return 0. I updated the test accordingly.

This means that OpenTask will only fail when "path" attribute is not set.

jawira and others added 28 commits February 11, 2019 14:27
@codecov
Copy link

codecov bot commented Sep 2, 2021

Codecov Report

Merging #1637 (0f999ef) into main (38d23e8) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##               main    #1637   +/-   ##
=========================================
  Coverage     58.19%   58.19%           
  Complexity     6964     6964           
=========================================
  Files           356      356           
  Lines         16861    16862    +1     
=========================================
+ Hits           9812     9813    +1     
  Misses         7049     7049           
Impacted Files Coverage Δ
src/Phing/Task/Optional/OpenTask.php 97.14% <100.00%> (+0.08%) ⬆️

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 38d23e8...0f999ef. Read the comment docs.

@mrook mrook merged commit 7ab0436 into phingofficial:main Sep 5, 2021
@jawira jawira deleted the fix-open-task-test branch September 5, 2021 07:39
@mrook mrook added this to the 3.0.0-RC4 milestone Jan 17, 2022
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.

2 participants