-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up output from various tests (#34256)
Tests shouldn't produce extraneous output to the console, but some of ours were. * packages/blaze: Prints URLs due to not passing `false` for the `$display` parameter to `menu_page_url()`. * packages/connection: `error_log()` output, which we can redirect to /dev/null. * packages/forms: In CI it prints a bunch of "sh: 1: /usr/sbin/sendmail: not found", while locally it doesn't because that exists and it **actually sends mail** (to an example.com address, at least, which has no MX and so is undeliverable). The 'pre_wp_mail' filter easily prevents the sending of mail. * plugins/jetpack: Output from sync, which we can expect as part of the test. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6961138026
- Loading branch information
Showing
3 changed files
with
18 additions
and
3 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
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