Skip to content

Commit

Permalink
Run sed inside wp-env container
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeelia committed Dec 11, 2024
1 parent 522527e commit 2eef4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/setup-cypress-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fi

# Fix the debug-bar-elasticpress dependency of ElasticPress
./bin/wp-env-cli tests-wordpress "wp --allow-root plugin install debug-bar-elasticpress"
sed -i "s/Requires Plugins: elasticpress/Requires Plugins: $PLUGIN_NAME/" /var/www/html/wp-content/plugins/debug-bar-elasticpress/debug-bar-elasticpress.php
./bin/wp-env-cli tests-wordpress "sed -i ""s/Requires Plugins: elasticpress/Requires Plugins: $PLUGIN_NAME/"" /var/www/html/wp-content/plugins/debug-bar-elasticpress/debug-bar-elasticpress.php"
./bin/wp-env-cli tests-wordpress "wp --allow-root plugin activate debug-bar-elasticpress"

if [ ! -z $WP_VERSION ]; then
Expand Down

0 comments on commit 2eef4ee

Please sign in to comment.