Skip to content

Commit

Permalink
Map unknown test process status to 'skipped' result to avoid errors i…
Browse files Browse the repository at this point in the history
…n log and never finished tests

This is caused by sebastianbergmann/phpunit#3379
  • Loading branch information
OndraM committed Nov 1, 2018
1 parent 2df6ad9 commit ff84e57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Publisher/AbstractPublisher.php
Expand Up @@ -51,6 +51,8 @@ abstract class AbstractPublisher
BaseTestRunner::STATUS_ERROR => self::TEST_RESULT_BROKEN,
BaseTestRunner::STATUS_RISKY => self::TEST_RESULT_BROKEN,
BaseTestRunner::STATUS_WARNING => self::TEST_RESULT_BROKEN,
// @todo Remove after https://github.com/sebastianbergmann/phpunit/issues/3379 is fixed
BaseTestRunner::STATUS_UNKNOWN => self::TEST_RESULT_SKIPPED,
];

/**
Expand Down

0 comments on commit ff84e57

Please sign in to comment.