Initial commit

This commit is contained in:
2019-05-26 15:57:49 +02:00
commit 9f74ec1089
34290 changed files with 5059123 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