E2E: Set up HPOS through `wp option` cli command (#39095)
* Add changelog * Use `wp option` to enable HPOS
This commit is contained in:
parent
90a6ba76dd
commit
040f138717
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: dev
|
||||
|
||||
Enable HPOS through the `wp option` command.
|
|
@ -26,7 +26,8 @@ wp-env run tests-cli sudo cp /var/www/html/wp-content/plugins/woocommerce/tests/
|
|||
|
||||
if [ $ENABLE_HPOS == 1 ]; then
|
||||
echo -e 'Enable High-Performance Order Tables\n'
|
||||
wp-env run tests-cli wp plugin install https://gist.github.com/vedanshujain/564afec8f5e9235a1257994ed39b1449/archive/b031465052fc3e04b17624acbeeb2569ef4d5301.zip --activate
|
||||
wp-env run tests-cli wp option update woocommerce_feature_custom_order_tables_enabled 'yes'
|
||||
wp-env run tests-cli wp option update woocommerce_custom_orders_table_enabled 'yes'
|
||||
fi
|
||||
|
||||
if [ $ENABLE_NEW_PRODUCT_EDITOR == 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue