From adfc893c9569200ea89458cc8072068c2e37406e Mon Sep 17 00:00:00 2001 From: Dima Uryvskiy Date: Fri, 12 Mar 2021 11:42:13 +0300 Subject: [PATCH] Change for local tests --- .env-dist | 4 ++-- Makefile | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.env-dist b/.env-dist index f89fd7b..2067205 100644 --- a/.env-dist +++ b/.env-dist @@ -5,8 +5,8 @@ DB_PASS=wc_retailcrm DB_HOST=mysql # WordPress and WooCommerce versions -WP_VERSION=4.4 -WC_VERSION=3.0.0 +WP_VERSION=5.3 +WC_VERSION=3.9.0 # Enable this in order to pipe all module log messages (including debug ones) to STDOUT. MODULE_LOGS_TO_STDOUT=0 diff --git a/Makefile b/Makefile index 1f3a702..64a2c86 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,8 @@ install: test: phpunit -c phpunit.xml.dist -local_test: install +local_test: + bash tests/bin/install.sh $(DB_NAME) $(DB_USER) $(DB_HOST) $(WP_VERSION) $(WC_VERSION) $(DB_PASS) $(SKIP_DB_CREATE) phpunit -c phpunit.xml.dist run_tests: