diff --git a/composer.lock b/composer.lock index 5abbb6b78af5750528dc957f7a41093c37f1ee3e..b4fc1d849c37035f70e136885e501fdd2d4fe4cc 100644 --- a/composer.lock +++ b/composer.lock @@ -8239,12 +8239,12 @@ "source": { "type": "git", "url": "https://github.com/TYPO3/testing-framework.git", - "reference": "67d2e5c9434e52ed9efed750105884fa1bd089b7" + "reference": "e45ee97112096c5a902093cc9e2a4c07af1cb49e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/67d2e5c9434e52ed9efed750105884fa1bd089b7", - "reference": "67d2e5c9434e52ed9efed750105884fa1bd089b7", + "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/e45ee97112096c5a902093cc9e2a4c07af1cb49e", + "reference": "e45ee97112096c5a902093cc9e2a4c07af1cb49e", "shasum": "" }, "require": { @@ -8300,7 +8300,7 @@ "issues": "https://github.com/TYPO3/testing-framework/issues", "source": "https://github.com/TYPO3/testing-framework/tree/main" }, - "time": "2021-12-15T13:12:04+00:00" + "time": "2021-12-19T10:34:08+00:00" } ], "aliases": [], diff --git a/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php index 7c0b2d30765605f2a8529d734929be4c89afd102..df7889ba6162041d34e88b5de573fe700a1848ff 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php @@ -29,6 +29,23 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class Typo3DatabaseBackendTest extends FunctionalTestCase { use \Prophecy\PhpUnit\ProphecyTrait; + + /** + * @var array + */ + protected $configurationToUseInTestInstance = [ + 'SYS' => [ + 'caching' => [ + 'cacheConfigurations' => [ + // Set pages cache database backend, testing-framework sets this to NullBackend by default. + 'pages' => [ + 'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend', + ], + ], + ], + ], + ]; + /** * @test */ diff --git a/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php index 933fa5472378311f9fb4d6e813e1554e5043c4f8..7b6ecdbb80058fc17535c7d7475b0c8d49c01024 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php @@ -26,6 +26,22 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; */ class VariableFrontendTest extends FunctionalTestCase { + /** + * @var array + */ + protected $configurationToUseInTestInstance = [ + 'SYS' => [ + 'caching' => [ + 'cacheConfigurations' => [ + // Set pages cache database backend, testing-framework sets this to NullBackend by default. + 'pages' => [ + 'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend', + ], + ], + ], + ], + ]; + public function insertSerializedArrayIntoLobAndRetrieveItDataProvider(): array { $arrayToSerialize = [ diff --git a/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php b/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php index 9cd9586035cb352f091d2ac9bc5a81eebd521a33..61b4c9ffd095b655d94ba583160c642e202b1bfb 100644 --- a/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php +++ b/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php @@ -28,6 +28,22 @@ use TYPO3\CMS\Core\Package\PackageManager; */ class CacheFlushCommandTest extends AbstractCommandTest { + /** + * @var array + */ + protected $configurationToUseInTestInstance = [ + 'SYS' => [ + 'caching' => [ + 'cacheConfigurations' => [ + // Set pages cache database backend, testing-framework sets this to NullBackend by default. + 'pages' => [ + 'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend', + ], + ], + ], + ], + ]; + /** * @test */