diff --git a/tests/phpunit/tests/import/import.php b/tests/phpunit/tests/import/import.php index 93034441fb..4a867c4b01 100644 --- a/tests/phpunit/tests/import/import.php +++ b/tests/phpunit/tests/import/import.php @@ -18,7 +18,7 @@ class Tests_Import_Import extends WP_Import_UnitTestCase { add_filter( 'import_allow_create_users', '__return_true' ); if ( ! file_exists( DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php' ) ) { - $this->fail( 'WordPress Importer plugin is not installed.' ); + $this->fail( 'This test requires the WordPress Importer plugin to be installed. See: https://make.wordpress.org/core/handbook/contribute/git/#unit-tests' ); } require_once DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php'; diff --git a/tests/phpunit/tests/import/parser.php b/tests/phpunit/tests/import/parser.php index 890fd0ac22..d2ca78d2a1 100644 --- a/tests/phpunit/tests/import/parser.php +++ b/tests/phpunit/tests/import/parser.php @@ -16,7 +16,7 @@ class Tests_Import_Parser extends WP_Import_UnitTestCase { define( 'WP_LOAD_IMPORTERS', true ); if ( ! file_exists( DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php' ) ) { - $this->fail( 'WordPress Importer plugin is not installed.' ); + $this->fail( 'This test requires the WordPress Importer plugin to be installed. See: https://make.wordpress.org/core/handbook/contribute/git/#unit-tests' ); } require_once DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php'; diff --git a/tests/phpunit/tests/import/postmeta.php b/tests/phpunit/tests/import/postmeta.php index bf468a1d3e..4ad9f11544 100644 --- a/tests/phpunit/tests/import/postmeta.php +++ b/tests/phpunit/tests/import/postmeta.php @@ -16,7 +16,7 @@ class Tests_Import_Postmeta extends WP_Import_UnitTestCase { define( 'WP_LOAD_IMPORTERS', true ); if ( ! file_exists( DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php' ) ) { - $this->fail( 'WordPress Importer plugin is not installed.' ); + $this->fail( 'This test requires the WordPress Importer plugin to be installed. See: https://make.wordpress.org/core/handbook/contribute/git/#unit-tests' ); } require_once DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php';