-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switching blogs in the Blogs connector ended up causing issues in WP SEO which in turn caused issues in EDD. Maybe try switching back to the original blog in the cleanup for that test.
- Loading branch information
1 parent
e90c84a
commit dedf412
Showing
7 changed files
with
81 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0"?> | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
bootstrap="tests/bootstrap.php" | ||
backupGlobals="false" | ||
colors="true" | ||
verbose="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" | ||
> | ||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory prefix="class-" suffix=".php">alerts</directory> | ||
<directory prefix="class-" suffix=".php">classes</directory> | ||
<directory prefix="class-" suffix=".php">connectors</directory> | ||
<directory prefix="class-" suffix=".php">exporters</directory> | ||
<directory prefix="class-" suffix=".php">includes</directory> | ||
</include> | ||
<exclude> | ||
<file>classes/class-cli.php</file> | ||
<directory>includes/lib</directory> | ||
</exclude> | ||
<report> | ||
<clover outputFile="tests/reports/clover.xml"/> | ||
</report> | ||
</coverage> | ||
<php> | ||
<const name="WP_TEST_ACTIVATED_PLUGINS" value="advanced-custom-fields/acf.php,easy-digital-downloads/easy-digital-downloads.php,jetpack/jetpack.php,user-switching/user-switching.php"/> | ||
</php> | ||
<testsuites> | ||
<testsuite name="stream"> | ||
<directory prefix="test-" suffix=".php">tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<logging/> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,38 @@ | ||
<?xml version="1.0"?> | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
bootstrap="tests/bootstrap.php" | ||
backupGlobals="false" | ||
colors="true" | ||
verbose="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" | ||
> | ||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory prefix="class-" suffix=".php">alerts</directory> | ||
<directory prefix="class-" suffix=".php">classes</directory> | ||
<directory prefix="class-" suffix=".php">connectors</directory> | ||
<directory prefix="class-" suffix=".php">exporters</directory> | ||
<directory prefix="class-" suffix=".php">includes</directory> | ||
</include> | ||
<exclude> | ||
<file>classes/class-cli.php</file> | ||
<directory>includes/lib</directory> | ||
</exclude> | ||
<report> | ||
<clover outputFile="tests/reports/clover.xml"/> | ||
</report> | ||
</coverage> | ||
<php> | ||
<const | ||
name="WP_TEST_ACTIVATED_PLUGINS" | ||
value="advanced-custom-fields/acf.php,easy-digital-downloads/easy-digital-downloads.php,jetpack/jetpack.php,user-switching/user-switching.php,wordpress-seo/wp-seo.php" | ||
/> | ||
<const name="WP_TEST_ACTIVATED_PLUGINS" value="advanced-custom-fields/acf.php,easy-digital-downloads/easy-digital-downloads.php,jetpack/jetpack.php,user-switching/user-switching.php,wordpress-seo/wp-seo.php"/> | ||
</php> | ||
<testsuites> | ||
<testsuite name="stream"> | ||
<directory prefix="test-" suffix=".php">tests</directory> | ||
</testsuite> | ||
<testsuite name="stream"> | ||
<directory prefix="test-" suffix=".php">tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist processUncoveredFilesFromWhitelist="true"> | ||
<directory prefix="class-" suffix=".php">alerts</directory> | ||
<directory prefix="class-" suffix=".php">classes</directory> | ||
<directory prefix="class-" suffix=".php">connectors</directory> | ||
<directory prefix="class-" suffix=".php">exporters</directory> | ||
<directory prefix="class-" suffix=".php">includes</directory> | ||
<exclude> | ||
<file>classes/class-cli.php</file><!-- FIXME: It can't resolve WP_CLI_Command for some reason. --> | ||
<directory>includes/lib</directory> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
<logging> | ||
<log type="coverage-clover" target="tests/reports/clover.xml" /> | ||
</logging> | ||
<logging/> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters