Skip to content

Commit

Permalink
#4591 do not treat warnings as error in teamcity
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lamy authored and sebastianbergmann committed Mar 17, 2021
1 parent cfb977a commit d687184
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/Util/Log/TeamCity.php
Expand Up @@ -89,15 +89,7 @@ public function addError(Test $test, Throwable $t, float $time): void
*/
public function addWarning(Test $test, Warning $e, float $time): void
{
$this->printEvent(
'testFailed',
[
'name' => $test->getName(),
'message' => self::getMessage($e),
'details' => self::getDetails($e),
'duration' => self::toMilliseconds($time),
]
);
$this->write(self::getMessage($e) . PHP_EOL);
}

/**
Expand Down

0 comments on commit d687184

Please sign in to comment.