Skip to content

Commit

Permalink
Adopt functional tests for latest TYPO3.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
d-s-codappix committed Sep 16, 2024
1 parent 0332017 commit 057a37d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
31 changes: 31 additions & 0 deletions Documentation/Changelog/1.1.1.rst
Original file line number Diff line number Diff line change
@@ -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

11 changes: 11 additions & 0 deletions Tests/Functional/CalendarControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'state' => 'alpha',
'uploadfolder' => 0,
'clearCacheOnLoad' => 0,
'version' => '1.1.0',
'version' => '1.1.1',
'constraints' => [
'depends' => [
'typo3' => '*',
Expand Down

0 comments on commit 057a37d

Please sign in to comment.