File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ private static function get_behat_internal_variables() {
334334 * for use in subsequent WordPress copies
335335 */
336336 private static function download_sqlite_plugin ( $ dir ) {
337- $ download_url = 'https://github.com/WordPress /sqlite-database-integration/archive/refs/tags/v2.1.11 .zip ' ;
337+ $ download_url = 'https://downloads.wordpress.org/plugin /sqlite-database-integration.zip ' ;
338338 $ download_location = $ dir . '/sqlite-database-integration.zip ' ;
339339
340340 if ( ! is_dir ( $ dir ) ) {
@@ -364,13 +364,6 @@ private static function download_sqlite_plugin( $dir ) {
364364 $ error_message = $ zip ->getStatusString ();
365365 throw new RuntimeException ( sprintf ( 'Failed to open the zip file: %s ' , $ error_message ) );
366366 }
367-
368- // For the release downloaded from GitHub, the unzipped folder will contain the version number.
369- // We're renaming the folder here for consistency's sake.
370- rename (
371- $ dir . '/sqlite-database-integration-2.1.11/ ' ,
372- $ dir . '/sqlite-database-integration/ '
373- );
374367 }
375368
376369 /**
You can’t perform that action at this time.
0 commit comments