Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit c0b5eb9

Browse files
committed
Tweak test setup
1 parent 4fd16a0 commit c0b5eb9

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

composer-dev.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"Tests\\": "tests/"
2424
},
2525
"exclude-from-classmap": [
26-
"tests/fixtures/"
26+
"tests/fixtures",
27+
"tests/snapshots"
2728
]
2829
},
2930
"config": {

phpunit.xml.dist

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3-
<testsuites>
4-
<testsuite name="Feature">
5-
<directory suffix="Test.php">./tests/Feature</directory>
6-
</testsuite>
7-
</testsuites>
8-
<coverage/>
9-
<source>
10-
<include>
11-
<directory suffix=".php">./app</directory>
12-
</include>
13-
</source>
3+
<testsuites>
4+
<testsuite name="Feature">
5+
<directory suffix="Test.php">./tests/Feature</directory>
6+
</testsuite>
7+
</testsuites>
8+
<coverage/>
9+
<source>
10+
<include>
11+
<directory suffix=".php">./app</directory>
12+
</include>
13+
</source>
14+
<php>
15+
<const name="RUNNING_TESTS" value="true"/>
16+
</php>
1417
</phpunit>

0 commit comments

Comments
 (0)