From 82a8ba57d64052e83b8bd744766b527a5dafa9da Mon Sep 17 00:00:00 2001 From: Andre Padberg Date: Tue, 7 May 2024 10:58:16 +0200 Subject: [PATCH] changed test.xmls back to the custom ones --- Tests/FunctionalTests.xml | 29 ++++++++++++++++++++--------- Tests/UnitTests.xml | 17 +++++++---------- composer.json | 4 ++-- 3 files changed, 29 insertions(+), 21 deletions(-) diff --git a/Tests/FunctionalTests.xml b/Tests/FunctionalTests.xml index a308277..671e02a 100644 --- a/Tests/FunctionalTests.xml +++ b/Tests/FunctionalTests.xml @@ -1,23 +1,34 @@ - + cacheDirectory=".phpunit.cache" + backupStaticProperties="false" + requireCoverageMetadata="false"> + ../Classes - + + + + + + + + + diff --git a/Tests/UnitTests.xml b/Tests/UnitTests.xml index e1f1559..7aee5da 100644 --- a/Tests/UnitTests.xml +++ b/Tests/UnitTests.xml @@ -1,24 +1,21 @@ - + cacheDirectory=".phpunit.cache" + backupStaticProperties="false" + requireCoverageMetadata="false"> + ../Classes - + diff --git a/composer.json b/composer.json index 495d35f..df41098 100644 --- a/composer.json +++ b/composer.json @@ -59,11 +59,11 @@ ], "test:unit": [ "[ -e .Build/bin/phpunit ] || composer update", - "TYPO3_PATH_ROOT=$PWD/.Build/Web .Build/bin/phpunit -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/UnitTests-v10.xml Tests/Unit" + "TYPO3_PATH_ROOT=$PWD/.Build/Web .Build/bin/phpunit -c Tests/UnitTests.xml Tests/Unit" ], "test:functional": [ "[ -e .Build/bin/phpunit ] || composer update", - "TYPO3_PATH_ROOT=$PWD/.Build/Web typo3DatabaseName=t3_congo_dev typo3DatabasePort=3307 typo3DatabaseHost=127.0.0.1 typo3DatabaseUsername=root typo3DatabasePassword=root .Build/bin/phpunit -c .Build/vendor/typo3/testing-framework/Resources/Core/Build/FunctionalTests-v10.xml Tests/Functional" + "TYPO3_PATH_ROOT=$PWD/.Build/Web typo3DatabaseName=t3_congo_dev typo3DatabasePort=3307 typo3DatabaseHost=127.0.0.1 typo3DatabaseUsername=root typo3DatabasePassword=root .Build/bin/phpunit -c Tests/FunctionalTests.xml Tests/Functional" ], "code-style": [ "[ -e ./.Build/bin/rector ] || composer install",