Skip to content

Commit cdf5b48

Browse files
committed
chore: attempt to fix tests
1 parent 0dc1227 commit cdf5b48

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"type": "statamic-addon",
77
"autoload": {
88
"psr-4": {
9-
"VV\\Classify\\": "src"
9+
"VV\\Classify\\": "src/"
1010
}
1111
},
1212
"autoload-dev": {
1313
"psr-4": {
14-
"VV\\Classify\\Tests\\": "tests"
14+
"VV\\Classify\\Tests\\": "tests/"
1515
}
1616
},
1717
"authors": [

phpunit.xml.dist

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" cacheResult="true" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
5+
bootstrap="vendor/autoload.php"
6+
backupGlobals="false"
7+
cacheResult="true"
8+
colors="true"
9+
processIsolation="false"
10+
stopOnFailure="false"
11+
cacheDirectory=".phpunit.cache"
12+
backupStaticProperties="false">
313
<testsuites>
414
<testsuite name="Unit">
5-
<directory suffix="Test.php">tests/Unit/</directory>
15+
<directory suffix="Test.php">./tests/Unit/</directory>
616
</testsuite>
717
</testsuites>
818
<php>
@@ -16,7 +26,7 @@
1626
</php>
1727
<source>
1828
<include>
19-
<directory suffix=".php">src/</directory>
29+
<directory suffix=".php">./src</directory>
2030
</include>
2131
</source>
2232
</phpunit>

0 commit comments

Comments
 (0)