From 1e157e69586923044e7231494d159ab3d351b2b5 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 13 Oct 2022 13:52:25 +0200 Subject: [PATCH] [TASK] Upgrade to the testing framework V7 (#629) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [TASK] Upgrade to the testing framework V7 This is required to also run the tests on TYPO3 12LTS. * Update CHANGELOG.md Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com> Co-authored-by: Chris Müller <2566282+brotkrueml@users.noreply.github.com> --- CHANGELOG.md | 1 + .../Functional/Domain/Repository/Product/TeaRepositoryTest.php | 2 +- composer.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4d79fd..7fcd5db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Added ### Changed +- Upgrade to the testing framework v7 (#629) - Make the TCA ready for TYPO3 v12 (#625) - Upgrade to PHPUnit 9 and PHPCOV 8 (#610) - Convert functional test fixtures to CSV (#601) diff --git a/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php b/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php index 7962cde..49fd285 100644 --- a/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php +++ b/Tests/Functional/Domain/Repository/Product/TeaRepositoryTest.php @@ -17,7 +17,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; */ class TeaRepositoryTest extends FunctionalTestCase { - protected $testExtensionsToLoad = ['typo3conf/ext/tea']; + protected array $testExtensionsToLoad = ['typo3conf/ext/tea']; private TeaRepository $subject; diff --git a/composer.json b/composer.json index f704ecf..f53d3bd 100644 --- a/composer.json +++ b/composer.json @@ -54,7 +54,7 @@ "symfony/yaml": "^5.4 || ^6.1", "typo3/cms-fluid-styled-content": "^11.5.2", "typo3/coding-standards": "^0.5.5", - "typo3/testing-framework": "^6.16.6" + "typo3/testing-framework": "^7.0@dev" }, "replace": { "typo3-ter/tea": "self.version"