mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
CartItem Product edge field "simpleAttributes" implemented and tested. (#521)
This commit is contained in:
+3
-1
@@ -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
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user