-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml.dist
62 lines (51 loc) · 2.56 KB
/
phpunit.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="tests/bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<env name="SYMFONY_PHPUNIT_REMOVE" value="" />
<env name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
<env name="KERNEL_CLASS" value="Common\Shared\Infrastructure\Kernel" />
<!-- ###+ doctrine/doctrine-bundle ### -->
<env name="DATABASE_URL" value="mysqli://db_user:[email protected]:3306/test_db_name?serverVersion=5.7" />
<!-- <env name="DATABASE_URL" value="postgres://postgres:[email protected]:5432/test_db_name?serverVersion=9.5" />-->
<!-- ###- doctrine/doctrine-bundle ### -->
<!-- ###+ nelmio/cors-bundle ### -->
<env name="CORS_ALLOW_ORIGIN" value="^https?://localhost:?[0-9]*$" />
<!-- ###- nelmio/cors-bundle ### -->
<!-- ###+ symfony/messenger ### -->
<env name="MESSENGER_TRANSPORT_DSN" value="sync://" />
<!-- ###- symfony/messenger ### -->
<!-- ###+ symfony/mercure-bundle ### -->
<env name="MERCURE_PUBLISH_URL" value="http://localhost:3000/.well-known/mercure" />
<env name="MERCURE_JWT_TOKEN" value="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOltdfX0.Oo0yg7y4yMa1vr_bziltxuTCqb8JVHKxp-f_FwwOim0" />
<!-- ###- symfony/mercure-bundle ### -->
<!-- ###+ lexik/jwt-authentication-bundle ### -->
<!-- Key paths should be relative to the project directory -->
<env name="JWT_SECRET_KEY" value="config/jwt/private.pem" />
<env name="JWT_PUBLIC_KEY" value="config/jwt/public.pem" />
<env name="JWT_PASSPHRASE" value="!ChangeMe!" />
<!-- ###- lexik/jwt-authentication-bundle ### -->
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src/Common</directory>
<directory suffix=".php">src/IdentityAccess</directory>
</include>
</coverage>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>