mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:36:13 +01:00

Fix for tests

This commit is contained in:
Łukasz Uznański 2024-05-20 23:04:33 +02:00
parent b3fa81bdde
commit 3d636a06d5

View file

@ -159,9 +159,9 @@
"ci:tests:create-directories": "mkdir -p .Build/public/typo3temp/var/tests",
"ci:tests:functional": [
"@ci:tests:create-directories",
"find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/bin/phpunit -c ./Build/tests/FunctionalTests.xml {}';"
"find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/bin/phpunit -c Build/tests/FunctionalTests.xml {}';"
],
"ci:tests:unit": ".Build/bin/phpunit -c ./Configuration/UnitTests.xml Tests/Unit",
"ci:tests:unit": ".Build/bin/phpunit -c Build/tests/UnitTests.xml Tests/Unit",
"ci:ts:lint": "typoscript-lint -c Build/typoscript/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
"ci:xliff:lint": "php Build/xliff/xliff-lint lint:xliff Resources/Private/Language",
"ci:yaml:lint": "find . ! -path '*.Build/*' ! -path '*node_modules/*' \\( -name '*.yaml' -o -name '*.yml' \\) | xargs -r php ./.Build/bin/yaml-lint",
@ -172,7 +172,7 @@
"@fix:php:cs",
"@fix:php:sniff"
],
"fix:php:cs": "php-cs-fixer fix --config Build/.php-cs-fixer.php",
"fix:php:cs": "php-cs-fixer fix --config Build/php/.php-cs-fixer.php",
"fix:php:sniff": "phpcbf Classes Configuration Tests",
"phpstan:baseline": ".Build/bin/phpstan -c Build/php/phpstan-baseline.neon --generate-baseline --allow-empty-baseline",
"prepare-release": [