Build/Test Tools: Remove debug text included in [49267].

See #50401.

git-svn-id: https://develop.svn.wordpress.org/trunk@49280 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2020-10-22 17:53:47 +00:00
parent fe2053f2c1
commit 6ec4cc3468
1 changed files with 2 additions and 2 deletions

View File

@ -198,12 +198,12 @@ abstract class WP_UnitTestCase_Base extends PHPUnit\Framework\TestCase {
$skipped = array( 'pull_request', 'pull_request_target' ); $skipped = array( 'pull_request', 'pull_request_target' );
if ( in_array( $github_event_name, $skipped, true ) || 'refs/heads/master' !== $github_ref ) { if ( in_array( $github_event_name, $skipped, true ) || 'refs/heads/master' !== $github_ref ) {
$this->markTestSkipped( 'For automated test runs, this test is only run on trunk/master - GitHub only' ); $this->markTestSkipped( 'For automated test runs, this test is only run on trunk/master' );
} }
} elseif ( 'false' !== $travis_branch ) { } elseif ( 'false' !== $travis_branch ) {
// We're on Travis CI. // We're on Travis CI.
if ( 'master' !== $travis_branch || 'false' !== $travis_pull_request ) { if ( 'master' !== $travis_branch || 'false' !== $travis_pull_request ) {
$this->markTestSkipped( 'For automated test runs, this test is only run on trunk/master - Travis only' ); $this->markTestSkipped( 'For automated test runs, this test is only run on trunk/master' );
} }
} }
} }