diff --git a/Makefile b/Makefile index e25fee2..e77f637 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ delete_archive: rm -f $(ARCHIVE_NAME) ci: -ifeq ($(USE_COMPOSER,1)) +ifeq ($(USE_COMPOSER),1) php $(MAGE_ROOT)/vendor/phpunit/phpunit/phpunit -c $(MAGE_ROOT)/dev/tests/unit/phpunit.xml.dist $(MAGE_ROOT)/app/code/Retailcrm/Retailcrm/Test/Unit else phpunit -c $(MAGE_ROOT)/dev/tests/unit/phpunit.xml.dist $(MAGE_ROOT)/app/code/Retailcrm/Retailcrm/Test/Unit -endif \ No newline at end of file +endif diff --git a/bin/install.sh b/bin/install.sh index 46abbb8..a6d071d 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -15,7 +15,7 @@ magento_clone() { git clone https://github.com/magento/magento2 cd magento2 git checkout $BRANCH - composer install + composer update composer require retailcrm/api-client-php }