From 731129f8fdc52e08da61380d85a2b7200f3bf751 Mon Sep 17 00:00:00 2001 From: Ivan Chaplygin Date: Fri, 30 Aug 2024 09:44:16 +0300 Subject: [PATCH] update tests --- tests/bin/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/bin/install.sh b/tests/bin/install.sh index 5be11ad..6615be9 100644 --- a/tests/bin/install.sh +++ b/tests/bin/install.sh @@ -39,6 +39,8 @@ download() { install_wp() { if [ -d $WP_CORE_DIR ]; then + mkdir -p $WP_CORE_DIR/wp-content/plugins/woo-retailcrm/assets/default + cp -n $PWD/src/assets/default/default_meta_fields.txt $WP_CORE_DIR/wp-content/plugins/woo-retailcrm/assets/default/ return; fi @@ -48,7 +50,7 @@ install_wp() { tar --strip-components=1 -zxmf /tmp/wordpress.tar.gz -C $WP_CORE_DIR download https://raw.github.com/markoheijnen/wp-mysqli/master/db.php $WP_CORE_DIR/wp-content/db.php mkdir -p $WP_CORE_DIR/wp-content/plugins/woo-retailcrm/assets/default - cp /code/src/assets/default/default_meta_fields.txt $WP_CORE_DIR/wp-content/plugins/woo-retailcrm/assets/default/ + cp -n $PWD/src/assets/default/default_meta_fields.txt $WP_CORE_DIR/wp-content/plugins/woo-retailcrm/assets/default/ } install_woocommerce() {