-
-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
22 lines (22 loc) · 757 Bytes
/
phpunit.xml.dist
File metadata and controls
22 lines (22 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<php>
<!-- wp-env environment uses WordPress test suite built into container -->
<env name="WORDPRESS_TABLE_PREFIX" value="wp_"/>
<!-- JWT Auth specific test constants -->
<env name="JWT_AUTH_SECRET_KEY" value="your-development-secret-key-for-testing-purposes-only"/>
<env name="JWT_AUTH_CORS_ENABLE" value="true"/>
</php>
</phpunit>