File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 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.
113113perform_operations ( array (
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
You can’t perform that action at this time.
0 commit comments