Skip to content

Commit

Permalink
devops: More CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed May 20, 2024
1 parent a1d2a2a commit 251220a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ fi
echo "Setting pretty permalinks..."
wp rewrite structure '/%year%/%monthnum%/%postname%/' --allow-root

zone_id=$(wp wc shipping_zone create --name="Local" --order=1 --user=admin --porcelain --allow-root)
wp wc shipping_zone_method create "$zone_id" --method_id=flat_rate --order=1 --enabled=true --settings='{"cost":"10"}' --user=admin --allow-root
wp wc shipping_zone_method create "$zone_id" --method_id=free_shipping --order=2 --enabled=true --settings='{"requires":"min_amount","min_amount":"50"}' --user=admin --allow-root

echo "Prepare for app database dump..."
if [ ! -d "${PROJECT_DIR}/local/db" ]; then
mkdir "${PROJECT_DIR}/local/db"
Expand Down
1 change: 0 additions & 1 deletion tests/acceptance.suite.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ modules:
enabled:
- Asserts
- REST
- \lucatume\WPBrowser\Module\WPCLI
- \lucatume\WPBrowser\Module\WPBrowser
- \lucatume\WPBrowser\Module\WPDb
- \lucatume\WPBrowser\Module\WPLoader
Expand Down
1 change: 0 additions & 1 deletion tests/functional.suite.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ modules:
enabled:
- Asserts
- REST
- \lucatume\WPBrowser\Module\WPCLI
- \lucatume\WPBrowser\Module\WPBrowser
- \lucatume\WPBrowser\Module\WPDb
- \lucatume\WPBrowser\Module\WPLoader
Expand Down

0 comments on commit 251220a

Please sign in to comment.