Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
risky test should not fire when we have a skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Orcutt committed Jul 19, 2019
1 parent 07c1eb2 commit b1e57f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Zynga/PHPUnit/V2/TestResult.hh
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,8 @@ class TestResult {
error_log(
'JEO WARNING - NON-Exception based error thrown e='.gettype($e),
);
} else if ($error === true && $skipped == true) {
// skipped is a noop atm.
} else if ($error === true && $e instanceof Exception) {
$this->addError($test, $e, $time);
} else if ($failure === true && $e instanceof Exception) {
Expand Down

0 comments on commit b1e57f5

Please sign in to comment.