Commit cb82166a authored by Christian Kuhn's avatar Christian Kuhn Committed by Andreas Fernandez
Browse files

[TASK] Align some testing details with recent TF works

* TYPO3_TESTING_FUNCTIONAL_REMOVE_ERROR_HANDLER is
  obsolete
* phpunit 9.5 is minimum requirement
* An acceptance test setup detail has been activated
  in testing-framework by default

Change-Id: Idaafa923fe8544fdd9f20395de6557be709562cb
Resolves: #96106
Releases: master
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72329

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 00c19be7
......@@ -12,7 +12,7 @@
-->
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
backupGlobals="true"
bootstrap="FunctionalTestsBootstrap.php"
cacheResult="false"
......@@ -37,7 +37,6 @@
</testsuite>
</testsuites>
<php>
<const name="TYPO3_TESTING_FUNCTIONAL_REMOVE_ERROR_HANDLER" value="true" />
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="E_ALL" />
<env name="TYPO3_CONTEXT" value="Testing" />
......
......@@ -12,7 +12,7 @@
-->
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
backupGlobals="true"
bootstrap="FunctionalTestsBootstrap.php"
cacheResult="false"
......@@ -37,7 +37,6 @@
</testsuite>
</testsuites>
<php>
<const name="TYPO3_TESTING_FUNCTIONAL_REMOVE_ERROR_HANDLER" value="true" />
<ini name="display_errors" value="1" />
<ini name="error_reporting" value="E_ALL" />
<env name="TYPO3_CONTEXT" value="Testing" />
......
......@@ -12,7 +12,7 @@
-->
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
backupGlobals="true"
bootstrap="UnitTestsBootstrap.php"
cacheResult="false"
......
......@@ -16,7 +16,7 @@
-->
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
backupGlobals="true"
bootstrap="UnitTestsBootstrap.php"
cacheResult="false"
......
......@@ -86,13 +86,6 @@ class BackendCoreEnvironment extends BackendEnvironment
'MAIL' => [
'transport' => NullTransport::class,
],
'SYS' => [
// @todo: Set these two in testing-framework Classes/Core/Acceptance/Extension/BackendEnvironment.php
// Catch *all* errors
'errorHandlerErrors' => E_ALL,
// Turn *all* errors into exceptions
'exceptionalErrors' => E_ALL,
],
],
];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment