Adopt functional tests for latest TYPO3. (#10)

TYPO3 now would return a 404 if cHash doesn't match. We now exclude the
parameters within our functional tests to not run into this issue.
This commit is contained in:
Daniel Siepmann (Codappix) 2024-09-16 12:25:10 +02:00 committed by GitHub
parent 03320171ce
commit 33eb0a2a3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 43 additions and 1 deletions

View file

@ -0,0 +1,31 @@
1.1.1
=====
Breaking
--------
Nothing
Features
--------
Nothing
Fixes
-----
Nothing
Tasks
-----
* Adopt functional tests for latest TYPO3.
TYPO3 now would return a 404 if cHash doesn't match.
We now exclude the parameters within our functional tests to not run into this issue.
Deprecation
-----------
Nothing

View file

@ -46,6 +46,17 @@ class CalendarControllerTest extends FunctionalTestCase
'typo3conf/ext/calendar/Tests/Fixtures/Sites' => 'typo3conf/sites',
];
protected $configurationToUseInTestInstance = [
'FE' => [
'cacheHash' => [
'excludedParameters' => [
'^tx_calendar_example[',
'^typoScriptDefaults',
],
],
],
];
protected function setUp(): void
{
parent::setUp();

View file

@ -10,7 +10,7 @@ $EM_CONF['calendar'] = [
'state' => 'alpha',
'uploadfolder' => 0,
'clearCacheOnLoad' => 0,
'version' => '1.1.0',
'version' => '1.1.1',
'constraints' => [
'depends' => [
'typo3' => '*',