CartItem Product edge field "simpleAttributes" implemented and tested. (#521)

This commit is contained in:
Geoffrey K Taylor
2021-07-05 18:18:52 -04:00
committed by GitHub
parent b7d181ed35
commit cb970f36ed
8 changed files with 190 additions and 2 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
set +u
if [[ -z "$DB_NAME" ]]; then
echo "DB_NAME not found"
print_usage_instruction
@@ -10,7 +12,7 @@ fi
DB_HOST=${DB_HOST-localhost}
DB_PASS=${DB_PASSWORD-""}
WP_VERSION=${WP_VERSION-5}
PHPUNIT_VERSION=${PHPUNIT_VERSION-8.1}
PHPUNIT_VERSION=${PHPUNIT_VERSION-"<=8.1"}
PROJECT_ROOT_DIR=$(pwd)
WP_CORE_DIR=${WP_CORE_DIR:-local/public}
PLUGINS_DIR=${PLUGINS_DIR:-"$WP_CORE_DIR/wp-content/plugins"}
+3 -1
View File
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
set +u
install_wordpress() {
if [ -f $WP_CORE_DIR/wp-config.php ]; then
echo "Wordpress already installed."
@@ -47,7 +49,7 @@ remove_wordpress() {
install_local_test_library() {
# Install testing library dependencies.
composer install
composer require --dev phpunit/phpunit:<=${PHPUNIT_VERSION}
composer require --dev phpunit/phpunit:${PHPUNIT_VERSION} \
lucatume/wp-browser \
codeception/module-asserts \
codeception/module-rest \