Skip to content

Commit fa37277

Browse files
committed
reverted to old phpunit.xml file and moved the new one to .dist
1 parent 4f9b3a9 commit fa37277

File tree

2 files changed

+41
-20
lines changed

2 files changed

+41
-20
lines changed

phpunit.xml

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
1-
<phpunit colors="true" verbose="true"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4-
convertNoticesToExceptions="true"
5-
convertWarningsToExceptions="true"
6-
convertErrorsToExceptions="true"
7-
convertDeprecationsToExceptions="true"
8-
bootstrap="src/autoload.php"
9-
>
1+
<phpunit bootstrap="src/autoload.php">
102
<testsuites>
11-
<testsuite name="Database">
12-
<directory>./tests/connection</directory>
13-
<file>./tests/BoltTest.php</file>
14-
</testsuite>
15-
<testsuite name="NoDatabase">
16-
<directory>./tests/error</directory>
17-
<directory>./tests/PackStream</directory>
18-
<directory>./tests/protocol</directory>
3+
<testsuite name="Bolt">
4+
<directory>tests</directory>
195
</testsuite>
206
</testsuites>
217
<php>
228
<var name="NEO_USER" value="neo4j"/>
239
<var name="NEO_PASS" value="nothing"/>
2410
</php>
25-
</phpunit>
26-
27-
11+
<filter>
12+
<whitelist>
13+
<directory suffix=".php">src/connection</directory>
14+
<directory suffix=".php">src/PackStream</directory>
15+
<directory suffix=".php">src/protocol</directory>
16+
<directory suffix=".php">src/helpers</directory>
17+
<directory suffix=".php">src/structures</directory>
18+
<file>src/Bolt.php</file>
19+
</whitelist>
20+
</filter>
21+
</phpunit>

phpunit.xml.dist

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<phpunit colors="true" verbose="true"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
convertNoticesToExceptions="true"
5+
convertWarningsToExceptions="true"
6+
convertErrorsToExceptions="true"
7+
convertDeprecationsToExceptions="true"
8+
bootstrap="src/autoload.php"
9+
>
10+
<testsuites>
11+
<testsuite name="Database">
12+
<directory>./tests/connection</directory>
13+
<file>./tests/BoltTest.php</file>
14+
</testsuite>
15+
<testsuite name="NoDatabase">
16+
<directory>./tests/error</directory>
17+
<directory>./tests/PackStream</directory>
18+
<directory>./tests/protocol</directory>
19+
</testsuite>
20+
</testsuites>
21+
<php>
22+
<var name="NEO_USER" value="neo4j"/>
23+
<var name="NEO_PASS" value="nothing"/>
24+
</php>
25+
</phpunit>
26+
27+

0 commit comments

Comments
 (0)