Skip to content

Commit

Permalink
dev:remove unnecessary command
Browse files Browse the repository at this point in the history
this add-on will automatically activate when setup wp env.
  • Loading branch information
ravinderk committed Oct 16, 2023
1 parent 4a1148f commit 07ca3eb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/e2e/bin/initialize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ wp-env run tests-cli wp option update woocommerce_default_country "US:CA"

wp-env run tests-cli wp user create customer [email protected] --user_pass=password --role=customer

# Install and activate WooCommerce Subscriptions.
wp-env run tests-cli wp plugin install --activate ./wp-content/plugins/woocommerce-gateway-payfast/woocommerce-subscriptions.zip

wp-env run tests-cli wp wc tax create -- --country="*" --state="*" --postcode="*" --city="*" --rate=20 --name="General Tax" --user=1
wp-env run tests-cli wp wc product create -- --name="Simple Product" --slug="simple-product" --user=1 --regular_price=10 --virtual=true
wp-env run tests-cli wp wc product create -- --name="Simple Subscription Product" --slug="simple-subscription-product" --user=1 --regular_price=10 --type=subscription --virtual=true --meta_data='[{"key":"_subscription_price","value":"10"},{"key":"_subscription_period","value":"month"},{"key":"_subscription_period_interval","value":"1"}]'
Expand Down

0 comments on commit 07ca3eb

Please sign in to comment.