Build/Test Tools: Convert more test skipping into hard failures. These dependencies should all be present when testing.

See #40533


git-svn-id: https://develop.svn.wordpress.org/trunk@40532 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2017-04-22 22:11:56 +00:00
parent 446189eac7
commit 669bd1bbc3
6 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -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->markTestSkipped( 'WordPress Importer plugin is not installed.' );
$this->fail( 'WordPress Importer plugin is not installed.' );
}
require_once DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php';