Changeset 59618
- Timestamp:
- 01/15/2025 02:14:04 PM (2 months ago)
- Location:
- branches/4.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
-
branches/4.3/.env
r55533 r59618 72 72 # The URL to use when running e2e tests. 73 73 WP_BASE_URL=http://localhost:${LOCAL_PORT} 74 75 ##76 # The revision number of the WordPress Importer plugin to use when running unit tests.77 #78 # This should be an SVN revision number from the official plugin repository on wordpress.org.79 ##80 WP_IMPORTER_REVISION=2387243 -
branches/4.3/tools/local-env/scripts/install.js
r58642 r59618 53 53 */ 54 54 function install_wp_importer() { 55 const test _plugin_directory = 'tests/phpunit/data/plugins/wordpress-importer';55 const testPluginDirectory = 'tests/phpunit/data/plugins/wordpress-importer'; 56 56 57 execSync( `docker compose exec -T php rm -rf ${test_plugin_directory} && svn checkout -r ${process.env.WP_IMPORTER_REVISION} https://plugins.svn.wordpress.org/wordpress-importer/trunk/ ${test_plugin_directory}`, { stdio: 'inherit' } ); 57 execSync( `docker compose exec -T php rm -rf ${testPluginDirectory}`, { stdio: 'inherit' } ); 58 execSync( `docker compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1`, { stdio: 'inherit' } ); 58 59 }
Note: See TracChangeset
for help on using the changeset viewer.