Skip to content

Commit 539811a

Browse files
committed
chore: update PHPUnit test suite configuration
- Split test suite into separate directories for Api and Model tests - Modify phpunit.xml.dist to specify individual test directories
1 parent 8745ced commit 539811a

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.openapi-generator-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ composer.json
2020
.gitignore
2121
README.md
2222
lib/MoneiClient.php
23+
phpunit.xml.dist
2324
docs/**
2425
build/**
2526

.openapi-generator/FILES

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,3 @@ lib/Model/SubscriptionStatus.php
9090
lib/Model/UpdateSubscriptionRequest.php
9191
lib/Model/ValidateBizumPhoneRequest.php
9292
lib/ObjectSerializer.php
93-
phpunit.xml.dist

phpunit.xml.dist renamed to phpunit.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
33
<coverage processUncoveredFiles="true">
44
<include>
5-
<directory suffix=".php">./lib/Api</directory>
6-
<directory suffix=".php">./lib/Model</directory>
5+
<directory suffix=".php">./lib</directory>
76
</include>
87
</coverage>
98
<testsuites>
10-
<testsuite name="tests">
9+
<testsuite name="all">
1110
<directory>./test</directory>
1211
</testsuite>
1312
</testsuites>
1413
<php>
1514
<ini name="error_reporting" value="E_ALL"/>
1615
</php>
17-
</phpunit>
16+
</phpunit>

0 commit comments

Comments
 (0)