Skip to content

Commit

Permalink
[PHPUnit] Migrated configuration from a deprecated schema
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Nov 25, 2024
1 parent c83443c commit 758fd02
Showing 1 changed file with 16 additions and 19 deletions.
35 changes: 16 additions & 19 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
colors="true">
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="tests/bootstrap.php"
colors="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory>src</directory>
</include>
<exclude>
<directory>tests/bundle/</directory>
<directory>tests/lib/</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="Ibexa\Bundle\User">
<directory>tests/bundle/</directory>
Expand All @@ -18,19 +24,10 @@
</testsuite>
</testsuites>
<php>
<env name="KERNEL_CLASS" value="Ibexa\Tests\Integration\User\IbexaTestKernel" />
<env name="DATABASE_URL" value="sqlite://i@i/test.db" />
<env name="KERNEL_CLASS" value="Ibexa\Tests\Integration\User\IbexaTestKernel"/>
<env name="DATABASE_URL" value="sqlite://i@i/test.db"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/>
</php>
<filter>
<whitelist>
<directory>src</directory>
<exclude>
<directory>tests/bundle/</directory>
<directory>tests/lib/</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
Expand Down

0 comments on commit 758fd02

Please sign in to comment.