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() {
334
334
* for use in subsequent WordPress copies
335
335
*/
336
336
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 ' ;
338
338
$ download_location = $ dir . '/sqlite-database-integration.zip ' ;
339
339
340
340
if ( ! is_dir ( $ dir ) ) {
@@ -364,13 +364,6 @@ private static function download_sqlite_plugin( $dir ) {
364
364
$ error_message = $ zip ->getStatusString ();
365
365
throw new RuntimeException ( sprintf ( 'Failed to open the zip file: %s ' , $ error_message ) );
366
366
}
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
- );
374
367
}
375
368
376
369
/**
You can’t perform that action at this time.
0 commit comments