Skip to content

Commit

Permalink
Put <testsuite> element under a <testsuites> element
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 8, 2018
1 parent 92bdc30 commit 7bca1e7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions src/Util/ConfigurationGenerator.php
Expand Up @@ -25,9 +25,11 @@ final class ConfigurationGenerator
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
verbose="true">
<testsuite name="default">
<directory suffix="Test.php">{tests_directory}</directory>
</testsuite>
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">{tests_directory}</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
Expand Down
8 changes: 5 additions & 3 deletions tests/Util/ConfigurationGeneratorTest.php
Expand Up @@ -28,9 +28,11 @@ public function testGeneratesConfigurationCorrectly(): void
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
verbose="true">
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
Expand Down

0 comments on commit 7bca1e7

Please sign in to comment.