Skip to content

Commit

Permalink
even more phpunit config simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 5, 2024
1 parent 76487f8 commit 40dd380
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
5 changes: 1 addition & 4 deletions tests/Browser/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
<phpunit
bootstrap="bootstrap.php"
colors="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<coverage/>
<testsuites>
<testsuite name="tests">
<directory>.</directory>
Expand Down
12 changes: 3 additions & 9 deletions tests/phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
<phpunit
bootstrap="bootstrap.php"
colors="true"
convertDeprecationsToExceptions="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<coverage>
<include>
Expand All @@ -20,7 +18,7 @@
<testsuites>
<testsuite name="tests">
<directory>.</directory>
<exclude>Browser/*</exclude>
<exclude>Browser</exclude>
</testsuite>
<testsuite name="plugins">
<directory>../plugins/acl/tests</directory>
Expand Down Expand Up @@ -58,11 +56,7 @@
<directory>../plugins/virtuser_file/tests</directory>
<directory>../plugins/virtuser_query/tests</directory>
<directory>../plugins/zipdownload/tests</directory>
<exclude>../plugins/archive/tests/Browser/MailTest.php</exclude>
<exclude>../plugins/archive/tests/Browser/SettingsTest.php</exclude>
<exclude>../plugins/attachment_reminder/tests/Browser/PluginTest.php</exclude>
<exclude>../plugins/markasjunk/tests/Browser/MailTest.php</exclude>
<exclude>../plugins/zipdownload/tests/Browser/MailTest.php</exclude>
<exclude>../plugins/*/tests/Browser</exclude>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 40dd380

Please sign in to comment.