Skip to content

Commit 8221c92

Browse files
committed
Exclude JWT from tests
1 parent 30a4978 commit 8221c92

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.phpcs.ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<!-- Ignoring Files and Folders:
1111
https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders -->
1212
<exclude-pattern>/vendor/*</exclude-pattern>
13-
<exclude-pattern>/wp-includes/rest-api/auth/jwt/*</exclude-pattern>
13+
<exclude-pattern>/wp-includes/php-jwt/*</exclude-pattern>
1414
<exclude-pattern>/tests/wp-tests/*</exclude-pattern>
1515

1616
<!-- How to scan -->

phpunit.xml.dist

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,20 @@
66
convertNoticesToExceptions="true"
77
convertWarningsToExceptions="true"
88
>
9-
<php>
10-
<const name="WP_TEST_VIP_QUICKSTART_ACTIVATED_PLUGINS" value="jetpack/jetpack.php,media-explorer/media-explorer.php,writing-helper/writing-helper.php,mrss/mrss.php,wordpress-importer/wordpress-importer.php,keyring/keyring.php,polldaddy/polldaddy.php" />
11-
<const name="WPCOM_VIP_DISABLE_REMOTE_REQUEST_ERROR_REPORTING" value="1" />
12-
<const name="WP_TEST_ACTIVATED_PLUGINS" value="" /> <!-- this list is used if not on VIP Quickstart -->
13-
</php>
149
<testsuites>
1510
<testsuite>
1611
<directory prefix="class-test-" suffix=".php">./tests/</directory>
1712
<directory prefix="test-" suffix=".php">./tests/</directory>
1813
</testsuite>
1914
</testsuites>
20-
2115
<filter>
2216
<whitelist processUncoveredFilesFromWhitelist="false">
2317
<directory suffix=".php">./</directory>
2418
<exclude>
2519
<directory suffix=".php">./coverage</directory>
2620
<directory suffix=".php">./tests</directory>
2721
<directory suffix=".php">./vendor</directory>
28-
<directory suffix=".php">./wp-includes/rest-api/auth/jwt</directory>
22+
<directory suffix=".php">./wp-includes/php-jwt</directory>
2923
</exclude>
3024
</whitelist>
3125
</filter>

0 commit comments

Comments
 (0)