From 60a1932a7146d152f8c60fffaeedcc821e8dea88 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Tue, 7 Feb 2023 12:39:48 +0100 Subject: [PATCH] Support TYPO3 12.2 (#102) Adjust tests to still work with TYPO3 commit 1fd78d5daa489a487df0682a38a1a1ecc5d0f3d0. --- .github/workflows/ci.yaml | 8 ++++---- Documentation/Changelog/2.2.0.rst | 27 +++++++++++++++++++++++++++ Tests/Functional/RecordviewTest.php | 8 ++++++++ composer.json | 6 +++--- 4 files changed, 42 insertions(+), 7 deletions(-) create mode 100644 Documentation/Changelog/2.2.0.rst diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3bcbbc4..596bbb1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -118,10 +118,10 @@ jobs: typo3-version: '^11.5' - db-version: '8' php-version: '8.1' - typo3-version: '~12.1.0' + typo3-version: '~12.2.0' - db-version: '8' php-version: '8.2' - typo3-version: '~12.1.0' + typo3-version: '~12.2.0' steps: - uses: actions/checkout@v3 @@ -167,9 +167,9 @@ jobs: - php-version: '8.2' typo3-version: '^11.5' - php-version: '8.1' - typo3-version: '~12.1.0' + typo3-version: '~12.2.0' - php-version: '8.2' - typo3-version: '~12.1.0' + typo3-version: '~12.2.0' steps: - uses: actions/checkout@v3 diff --git a/Documentation/Changelog/2.2.0.rst b/Documentation/Changelog/2.2.0.rst new file mode 100644 index 0000000..c767e27 --- /dev/null +++ b/Documentation/Changelog/2.2.0.rst @@ -0,0 +1,27 @@ +2.2.0 +===== + +Breaking +-------- + +Nothing + +Features +-------- + +* Support TYPO3 12.2. + +Fixes +----- + +Nothing + +Tasks +----- + +Nothing + +Deprecation +----------- + +Nothing diff --git a/Tests/Functional/RecordviewTest.php b/Tests/Functional/RecordviewTest.php index 823afaf..2c0f423 100644 --- a/Tests/Functional/RecordviewTest.php +++ b/Tests/Functional/RecordviewTest.php @@ -40,6 +40,14 @@ class RecordviewTest extends TestCase 'typo3conf/ext/tracking/Tests/Functional/Fixtures/sites' => 'typo3conf/sites', ]; + protected array $configurationToUseInTestInstance = [ + 'FE' => [ + 'cacheHash' => [ + 'enforceValidation' => false, + ], + ], + ]; + protected function setUp(): void { parent::setUp(); diff --git a/composer.json b/composer.json index 23f3748..cabe4c3 100644 --- a/composer.json +++ b/composer.json @@ -34,9 +34,9 @@ "psr/http-server-middleware": "^1.0", "symfony/console": "^5.2 || ^6.1", "symfony/expression-language": "^5.2 || ^6.1", - "typo3/cms-backend": "^11.5 || ~12.1.0", - "typo3/cms-core": "^11.5 || ~12.1.0", - "typo3/cms-dashboard": "^11.5 || ~12.1.0" + "typo3/cms-backend": "^11.5 || ~12.2.0", + "typo3/cms-core": "^11.5 || ~12.2.0", + "typo3/cms-dashboard": "^11.5 || ~12.2.0" }, "require-dev": { "phpunit/phpunit": "^9.0",