File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ cp "$DIR"/db.copy "$WP_DIR"/src/wp-content/db.php
5858sed -i.bak " s#'{SQLITE_IMPLEMENTATION_FOLDER_PATH}'#__DIR__.'/plugins/sqlite-database-integration'#g" " $WP_DIR " /src/wp-content/db.php
5959sed -i.bak " s#{SQLITE_PLUGIN}#$WP_DIR /src/wp-content/plugins/sqlite-database-integration/load.php#g" " $WP_DIR " /src/wp-content/db.php
6060
61- # 5. Install dependencies.
61+ # 5. Rewrite helper class WpdbExposedMethodsForTesting to extend WP_SQLite_DB.
62+ echo " Rewriting helper class 'WpdbExposedMethodsForTesting' to extend WP_SQLite_DB..."
63+ sed -i.bak " s#class WpdbExposedMethodsForTesting extends wpdb {#class WpdbExposedMethodsForTesting extends WP_SQLite_DB {#g" " $WP_DIR " /tests/phpunit/includes/utils.php
64+
65+ # 6. Install dependencies.
6266echo " Installing dependencies..."
6367npm --prefix " $WP_DIR " install
You can’t perform that action at this time.
0 commit comments