Changeset 59601
- Timestamp:
- 01/13/2025 05:13:25 PM (2 months ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3/.env
r58670 r59601 71 71 # The URL to use when running e2e tests. 72 72 WP_BASE_URL=http://localhost:${LOCAL_PORT} 73 74 ##75 # The revision number of the WordPress Importer plugin to use when running unit tests.76 #77 # This should be an SVN revision number from the official plugin repository on wordpress.org.78 ##79 WP_IMPORTER_REVISION=2387243 -
branches/5.3/tools/local-env/scripts/install.js
r58624 r59601 52 52 */ 53 53 function install_wp_importer() { 54 const test _plugin_directory = 'tests/phpunit/data/plugins/wordpress-importer';54 const testPluginDirectory = 'tests/phpunit/data/plugins/wordpress-importer'; 55 55 56 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' } ); 56 execSync( `docker compose exec -T php rm -rf ${testPluginDirectory}`, { stdio: 'inherit' } ); 57 execSync( `docker compose exec -T php git clone https://github.com/WordPress/wordpress-importer.git ${testPluginDirectory} --depth=1`, { stdio: 'inherit' } ); 57 58 }
Note: See TracChangeset
for help on using the changeset viewer.