-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
34 lines (34 loc) · 1.49 KB
/
Copy pathphpunit.xml
File metadata and controls
34 lines (34 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
colors="true"
processIsolation="false"
stopOnFailure="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.2/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false"
bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests/</directory>
<exclude>./tests/OpenTelemetry/</exclude>
<exclude>./tests/TestCase.php</exclude>
</testsuite>
<testsuite name="OTEL Functionality Test Suite">
<directory>./tests/OpenTelemetry/</directory>
<exclude>./tests/OpenTelemetry/ExampleTest.php</exclude>
<exclude>./tests/OpenTelemetry/Formatters/</exclude>
</testsuite>
<testsuite name="OTEL Custom Formatters Test Suite">
<directory>./tests/OpenTelemetry/Formatters/</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_ENV" value="testing"/>
<!-- the resource-server IP allow-list check (ValidateBearerTokenResourceServerStrategy) no-ops
when this is off, silently passing introspection calls that must be rejected (see
OAuth2ProtocolTest::testResourceServerIntrospectionNotValidIP). Deterministic caller IP
comes from tests/bootstrap.php (REMOTE_ADDR=127.0.0.1). -->
<env name="OAUTH2_VALIDATE_RESOURCE_SERVER_IP" value="true"/>
</php>
</phpunit>