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:
parent
fe2053f2c1
commit
6ec4cc3468
@ -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' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user