Initial Commit

This commit is contained in:
2019-11-21 12:25:31 +01:00
commit f4aabcb9b1
13959 changed files with 787761 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 phpunit %*
echo [INFO] Desactivating Hook Test Module
php Thelia module:deactivate HookTest
echo [INFO] Removing hook test template
rd templates\frontOffice\hooktest /s /q