Make WordPress Core


Ignore:
Timestamp:
07/19/2017 10:37:41 AM (7 years ago)
Author:
jnylen0
Message:

Tests: Be more helpful when the wordpress-importer plugin is missing.

Link to some documentation that explains the problem and how to resolve it.

Props enrico.sorcinelli.
Fixes #41345.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/import/import.php

    r40531 r41090  
    1919
    2020        if ( ! file_exists( DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php' ) ) {
    21             $this->fail( 'WordPress Importer plugin is not installed.' );
     21            $this->fail( 'This test requires the WordPress Importer plugin to be installed. See: https://make.wordpress.org/core/handbook/contribute/git/#unit-tests' );
    2222        }
    2323
Note: See TracChangeset for help on using the changeset viewer.