Skip to content

Commit

Permalink
Make test portable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Dec 20, 2023
1 parent c9752ec commit 2038126
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/end-to-end/logging/teamcity-data-provider.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ Runtime: %s

##teamcity[testCount count='2' flowId='%d']

##teamcity[testSuiteStarted name='PHPUnit\TestFixture\TeamCity\DataProviderTest' locationHint='php_qn:///%sDataProviderTest.php::\PHPUnit\TestFixture\TeamCity\DataProviderTest' flowId='%d']
##teamcity[testSuiteStarted name='PHPUnit\TestFixture\TeamCity\DataProviderTest' locationHint='php_qn://%sDataProviderTest.php::\PHPUnit\TestFixture\TeamCity\DataProviderTest' flowId='%d']

##teamcity[testSuiteStarted name='testOne' locationHint='php_qn:///%sDataProviderTest.php::\PHPUnit\TestFixture\TeamCity\DataProviderTest::testOne' flowId='%d']
##teamcity[testSuiteStarted name='testOne' locationHint='php_qn://%sDataProviderTest.php::\PHPUnit\TestFixture\TeamCity\DataProviderTest::testOne' flowId='%d']

##teamcity[testStarted name='testOne with data set #0' locationHint='php_qn:///%sDataProviderTest.php::\PHPUnit\TestFixture\TeamCity\DataProviderTest::testOne with data set #0' flowId='%d']
##teamcity[testStarted name='testOne with data set #0' locationHint='php_qn://%sDataProviderTest.php::\PHPUnit\TestFixture\TeamCity\DataProviderTest::testOne with data set #0' flowId='%d']

##teamcity[testFinished name='testOne with data set #0' duration='%d' flowId='%d']

##teamcity[testStarted name='testOne with data set #1' locationHint='php_qn:///%sDataProviderTest.php::\PHPUnit\TestFixture\TeamCity\DataProviderTest::testOne with data set #1' flowId='%d']
##teamcity[testStarted name='testOne with data set #1' locationHint='php_qn://%sDataProviderTest.php::\PHPUnit\TestFixture\TeamCity\DataProviderTest::testOne with data set #1' flowId='%d']

##teamcity[testFailed name='testOne with data set #1' message='Failed asserting that false is true.' details='/%sDataProviderTest.php:28|n' duration='%d' flowId='%d']
##teamcity[testFailed name='testOne with data set #1' message='Failed asserting that false is true.' details='%sDataProviderTest.php:28|n' duration='%d' flowId='%d']

##teamcity[testFinished name='testOne with data set #1' duration='%d' flowId='%d']

Expand All @@ -42,7 +42,7 @@ There was 1 failure:
1) PHPUnit\TestFixture\TeamCity\DataProviderTest::testOne with data set #1 (false)
Failed asserting that false is true.

/%sDataProviderTest.php:28
%sDataProviderTest.php:28

FAILURES!
Tests: 2, Assertions: 2, Failures: 1.

0 comments on commit 2038126

Please sign in to comment.