Skip to content

Commit 1a85f41

Browse files
committed
Add phpunit to require-dev and phpunit.xml.dist
CI needs phpunit to be installed.
1 parent 056ea93 commit 1a85f41

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"symfony/dependency-injection": "^6.4 || ^7.0",
99
"symfony/http-kernel": "^6.4 || ^7.0"
1010
},
11+
"require-dev": {
12+
"phpunit/phpunit": "^10.5 || ^11.0"
13+
},
1114
"autoload": {
1215
"psr-4": {
1316
"Sylius\\TelemetryBundle\\": "src/"

phpunit.xml.dist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
>
7+
<testsuites>
8+
<testsuite name="TelemetryBundle">
9+
<directory>tests</directory>
10+
</testsuite>
11+
</testsuites>
12+
</phpunit>

0 commit comments

Comments
 (0)