mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-16 15:29:54 +03:00
Updated phpunit configs to use new schema introduced in v9.3
This commit is contained in:
parent
1621f3a943
commit
cb340b5867
3 changed files with 20 additions and 21 deletions
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0"?>
|
||||
<phpunit
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.4/phpunit.xsd"
|
||||
bootstrap="./config/test/bootstrap_api_tests.php"
|
||||
colors="true"
|
||||
>
|
||||
|
@ -11,9 +11,9 @@
|
|||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<coverage processUncoveredFiles="true">
|
||||
<include>
|
||||
<directory suffix=".php">./module/*/src</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</include>
|
||||
</coverage>
|
||||
</phpunit>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0"?>
|
||||
<phpunit
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.4/phpunit.xsd"
|
||||
bootstrap="./config/test/bootstrap_db_tests.php"
|
||||
colors="true"
|
||||
>
|
||||
|
@ -11,11 +11,11 @@
|
|||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<coverage processUncoveredFiles="true">
|
||||
<include>
|
||||
<directory suffix=".php">./module/*/src/Repository</directory>
|
||||
<directory suffix=".php">./module/*/src/**/Repository</directory>
|
||||
<directory suffix=".php">./module/*/src/**/**/Repository</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</include>
|
||||
</coverage>
|
||||
</phpunit>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0"?>
|
||||
<phpunit
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.4/phpunit.xsd"
|
||||
bootstrap="./vendor/autoload.php"
|
||||
colors="true"
|
||||
>
|
||||
|
@ -17,15 +17,14 @@
|
|||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<coverage processUncoveredFiles="true">
|
||||
<include>
|
||||
<directory suffix=".php">./module/*/src</directory>
|
||||
|
||||
<exclude>
|
||||
<directory suffix=".php">./module/Core/src/Repository</directory>
|
||||
<directory suffix=".php">./module/Core/src/**/Repository</directory>
|
||||
<directory suffix=".php">./module/Core/src/**/**/Repository</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</include>
|
||||
<exclude>
|
||||
<directory suffix=".php">./module/Core/src/Repository</directory>
|
||||
<directory suffix=".php">./module/Core/src/**/Repository</directory>
|
||||
<directory suffix=".php">./module/Core/src/**/**/Repository</directory>
|
||||
</exclude>
|
||||
</coverage>
|
||||
</phpunit>
|
||||
|
|
Loading…
Add table
Reference in a new issue