forked from wallabag/wallabag
The structure changed completely. Bundles are gone. Everything is flatten in the folder `src`. I separated import & api controllers to avoid _pollution_ in the main controller folder.
60 lines
2.3 KiB
XML
60 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd"
|
|
backupGlobals="false"
|
|
colors="true"
|
|
bootstrap="config/bootstrap.php"
|
|
>
|
|
|
|
<testsuites>
|
|
<testsuite name="wallabag">
|
|
<directory>tests</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
|
|
<php>
|
|
<ini name="error_reporting" value="-1" />
|
|
<server name="APP_ENV" value="test" force="true" />
|
|
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
|
|
|
|
<!-- ###+ doctrine/doctrine-bundle ### -->
|
|
<!-- Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url -->
|
|
<!-- IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml -->
|
|
<!-- -->
|
|
<!-- DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" -->
|
|
<!-- DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4" -->
|
|
<!-- <env name="DATABASE_URL" value="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=14&charset=utf8"/> -->
|
|
<!-- ###- doctrine/doctrine-bundle ### -->
|
|
|
|
<!-- ###+ nelmio/cors-bundle ### -->
|
|
<env name="CORS_ALLOW_ORIGIN" value="'^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'"/>
|
|
<!-- ###- nelmio/cors-bundle ### -->
|
|
|
|
<!-- ###+ php-amqplib/rabbitmq-bundle ### -->
|
|
<!-- <env name="RABBITMQ_URL" value="amqp://guest:guest@localhost:5672"/> -->
|
|
<!-- ###- php-amqplib/rabbitmq-bundle ### -->
|
|
|
|
<!-- ###+ sentry/sentry-symfony ### -->
|
|
<env name="SENTRY_DSN" value=""/>
|
|
<!-- ###- sentry/sentry-symfony ### -->
|
|
</php>
|
|
|
|
<filter>
|
|
<whitelist>
|
|
<directory>src</directory>
|
|
<exclude>
|
|
<directory>vendor</directory>
|
|
<directory>src/DataFixtures</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
|
|
<extensions>
|
|
<extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" />
|
|
</extensions>
|
|
<listeners>
|
|
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
|
|
</listeners>
|
|
</phpunit>
|