Skip to content

Commit

Permalink
Make test-data.php plugin have a directory and change to use `plugins…
Browse files Browse the repository at this point in the history
…` directive to set up it.
  • Loading branch information
eason9487 committed Feb 29, 2024
1 parent 159284b commit e6c03c1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"phpVersion": "8.0",
"plugins": [
"https://github.com/WP-API/Basic-Auth/archive/master.zip",
"./tests/e2e/test-data",
"."
],
"mappings": {
"wp-cli.yml": "./tests/e2e/config/wp-cli.yml",
"wp-content/plugins/test-data.php": "./tests/e2e/bin/test-data.php"
"wp-cli.yml": "./tests/e2e/config/wp-cli.yml"
},
"lifecycleScripts": {
"afterStart": "./tests/e2e/bin/test-env-setup.sh",
Expand Down
3 changes: 0 additions & 3 deletions tests/e2e/bin/test-env-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ wp-env run tests-cli wp theme activate twentytwentytwo
echo -e 'Install WooCommerce \n'
wp-env run tests-cli -- wp plugin install woocommerce --activate

echo -e 'Activate Test Data utility plugin \n'
wp-env run tests-cli -- wp plugin activate test-data

echo -e 'Update URL structure \n'
wp-env run tests-cli -- wp rewrite structure '/%postname%/' --hard

Expand Down
File renamed without changes.

0 comments on commit e6c03c1

Please sign in to comment.