Skip to content

Commit ca86c93

Browse files
authored
Merge pull request #215 from jeroenpf/fix/use-latest-sqlite-version
2 parents 4d4c920 + 91c88d3 commit ca86c93

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/Context/FeatureContext.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)