Skip to content
This repository has been archived by the owner on Apr 28, 2021. It is now read-only.

Commit

Permalink
Experiment in TC
Browse files Browse the repository at this point in the history
  • Loading branch information
SmetDenis committed Aug 17, 2020
1 parent f7f713c commit aa2e11f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/ConverterTeamCityInspectionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function testPhpCsCodestyle()
$actual = (new TeamCityInspectionsConverter(['show-datetime' => false]))
->setFlowId(1)
->fromInternal($source);
echo $actual;

isSame(
"\n" . implode("\n\n", [
"##teamcity[inspectionType id='CheckStyle:PSR12.Properties.ConstantVisibility.NotFound' name='PSR12.Properties.ConstantVisibility.NotFound' category='CheckStyle' description='Issues found while checking coding standards' flowId='1']",
Expand All @@ -60,7 +60,7 @@ public function testPhanCodeStyle()
$actual = (new TeamCityInspectionsConverter(['show-datetime' => false]))
->setFlowId(1)
->fromInternal($source);
echo $actual;

isSame(
"\n" . implode("\n\n", [
"##teamcity[inspectionType id='CheckStyle:PhanPossiblyFalseTypeMismatchProperty' name='PhanPossiblyFalseTypeMismatchProperty' category='CheckStyle' description='Issues found while checking coding standards' flowId='1']",
Expand Down Expand Up @@ -88,7 +88,7 @@ public function testJUnitSimple()
$actual = (new TeamCityInspectionsConverter(['show-datetime' => false]))
->setFlowId(1)
->fromInternal($source);
echo $actual;

isSame(
"\n" . implode("\n\n", [
"##teamcity[inspectionType id='CodingStandardIssues:JBZoo\PHPUnit\ExampleTest' name='JBZoo\PHPUnit\ExampleTest' category='CodingStandardIssues' description='Issues found while checking coding standards' flowId='1']",
Expand All @@ -114,7 +114,7 @@ public function testJUnitNested()
$actual = (new TeamCityInspectionsConverter(['show-datetime' => false]))
->setFlowId(1)
->fromInternal($source);
echo $actual;

isSame(
"\n" . implode("\n\n", [
"##teamcity[inspectionType id='CodingStandardIssues:JBZoo\PHPUnit\ExampleTest' name='JBZoo\PHPUnit\ExampleTest' category='CodingStandardIssues' description='Issues found while checking coding standards' flowId='1']",
Expand Down

0 comments on commit aa2e11f

Please sign in to comment.