Skip to content

Commit c3bdc43

Browse files
authored
Merge pull request #249 from WordPress/remove/importer
Remove the steps that download and prepare the WordPress Importer plugin
2 parents 67de9d2 + c049a06 commit c3bdc43

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

prepare.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107

108108
/**
109109
* Performs a series of operations to set up the test environment. This includes creating a preparation directory,
110-
* cloning the WordPress development repository, downloading the WordPress importer plugin, and preparing the environment with npm.
110+
* cloning the WordPress development repository, and preparing the environment with npm.
111111
*/
112112
// Prepare an array of shell commands to set up the testing environment.
113113
perform_operations( array(
@@ -119,12 +119,6 @@
119119
// The '--depth=1' flag creates a shallow clone with a history truncated to the last commit.
120120
'git clone --depth=1 https://github.com/WordPress/wordpress-develop.git ' . escapeshellarg( $WPT_PREPARE_DIR ),
121121

122-
// Download the WordPress importer plugin zip file to the specified plugins directory.
123-
'wget -O ' . escapeshellarg( $WPT_PREPARE_DIR . '/tests/phpunit/data/plugins/wordpress-importer.zip' ) . ' https://downloads.wordpress.org/plugin/wordpress-importer.zip' . $certificate_validation,
124-
125-
// Change directory to the plugin directory, unzip the WordPress importer plugin, and remove the zip file.
126-
'cd ' . escapeshellarg( $WPT_PREPARE_DIR . '/tests/phpunit/data/plugins/' ) . '; unzip wordpress-importer.zip; rm wordpress-importer.zip',
127-
128122
// Change directory to the preparation directory, install npm dependencies, and build the project.
129123
'cd ' . escapeshellarg( $WPT_PREPARE_DIR ) . '; npm install && npm run build'
130124

0 commit comments

Comments
 (0)