Initial commit

This commit is contained in:
2021-03-23 13:54:38 +01:00
commit 82b142ff95
16941 changed files with 2617212 additions and 0 deletions

22
unit-tests.bat Normal file
View File

@@ -0,0 +1,22 @@
@echo off
REM Prepare environment for Thelia unit tests
echo [INFO] Clearing test cache
php Thelia cache:clear --env=test
echo [INFO] Downloading vendors
call composer install --prefer-dist
echo [INFO] Refreshing Module list
php Thelia module:refresh
echo [INFO] Activating Hook Test Module
php Thelia module:activate HookTest
call bin\phpunit %*
echo [INFO] Desactivating Hook Test Module
php Thelia module:deactivate HookTest
echo [INFO] Removing hook test template
rd templates\frontOffice\hooktest /s /q