-
Notifications
You must be signed in to change notification settings - Fork 13
/
phpunit.xml.dist
56 lines (50 loc) · 1.91 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.5/phpunit.xsd"
failOnRisky="true"
failOnWarning="true"
colors="true"
bootstrap="vendor/autoload.php"
verbose="true">
<php>
<ini name="error_reporting" value="-1"/>
<env name="APP_ENV" value="ci"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0"/>
<!-- Make sure that we handle all dates as UTC even if the system's timezone is not UTC -->
<ini name="date.timezone" value="America/Los_Angeles"/>
</php>
<testsuites>
<testsuite name="eLife Journal">
<directory>test</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
<arguments>
<array>
<element key="time-sensitive">
<array>
<element key="0">
<string>eLife\Journal\Controller</string>
</element>
<element key="1">
<string>eLife\Journal\Security</string>
</element>
<element key="2">
<string>eLife\Journal\Security\Voter</string>
</element>
<element key="3">
<string>eLife\Journal\ViewModel\Factory</string>
</element>
</array>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>