Skip to content

Commit b752874

Browse files
committed
phpunit config updated
1 parent 9818e84 commit b752874

File tree

1 file changed

+24
-33
lines changed

1 file changed

+24
-33
lines changed

phpunit.xml.dist

Lines changed: 24 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit
3-
colors="true"
4-
processIsolation="false"
5-
stopOnFailure="false"
6-
bootstrap="tests/bootstrap.php"
7-
>
8-
<php>
9-
<ini name="memory_limit" value="-1"/>
10-
<ini name="apc.enable_cli" value="1"/>
11-
</php>
12-
13-
<!-- Add any additional test suites you want to run here -->
14-
<testsuites>
15-
<testsuite name="JsonApiException">
16-
<directory>tests/TestCase/</directory>
17-
</testsuite>
18-
</testsuites>
19-
20-
<!-- Setup a listener for fixtures -->
21-
<listeners>
22-
<listener class="Cake\TestSuite\Fixture\FixtureInjector">
23-
<arguments>
24-
<object class="Cake\TestSuite\Fixture\FixtureManager"/>
25-
</arguments>
26-
</listener>
27-
</listeners>
28-
29-
<filter>
30-
<whitelist>
31-
<directory suffix=".php">src/</directory>
32-
</whitelist>
33-
</filter>
34-
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" processIsolation="false" stopOnFailure="false" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src/</directory>
6+
</include>
7+
</coverage>
8+
<php>
9+
<ini name="memory_limit" value="-1"/>
10+
<ini name="apc.enable_cli" value="1"/>
11+
</php>
12+
<!-- Add any additional test suites you want to run here -->
13+
<testsuites>
14+
<testsuite name="JsonApiException">
15+
<directory>tests/TestCase/</directory>
16+
</testsuite>
17+
</testsuites>
18+
<!-- Setup a listener for fixtures -->
19+
<listeners>
20+
<listener class="Cake\TestSuite\Fixture\FixtureInjector">
21+
<arguments>
22+
<object class="Cake\TestSuite\Fixture\FixtureManager"/>
23+
</arguments>
24+
</listener>
25+
</listeners>
3526
</phpunit>

0 commit comments

Comments
 (0)