From 52226fa3a29a5a23c14f766d686296fc0af4bc60 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 24 Jul 2023 14:36:57 +0200 Subject: [PATCH] Make tests compatible with TYPO3 core changes (#11) The cHash now is enforced, which will break within functional tests. We adapt the configuration to still execute tests. --- Tests/Functional/BasicsTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Tests/Functional/BasicsTest.php b/Tests/Functional/BasicsTest.php index 75ec72f..e176d6b 100644 --- a/Tests/Functional/BasicsTest.php +++ b/Tests/Functional/BasicsTest.php @@ -44,6 +44,16 @@ class BasicsTest extends FunctionalTestCase 'typo3conf/ext/watchlist/Tests/Fixtures/Fileadmin/Files' => 'fileadmin/Files', ]; + protected $configurationToUseInTestInstance = [ + 'FE' => [ + 'cacheHash' => [ + 'excludedParameters' => [ + '^tx_watchlist_watchlist[', + ], + ], + ], + ]; + protected function setUp(): void { parent::setUp();