From 0fa866c985cffbfdfb3462efe49b2e47bb3575d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BCrk?= Date: Wed, 27 Nov 2024 17:59:12 +0100 Subject: [PATCH] [TASK] Add missing `composer.json` to testing-framework extensions The typo3/testing-framework provides two TYPO3 extensions, which are required and bound to every created functional test instance. Adding missing `composer.json` for these two extensions. Releases: main, 8 --- .../Extensions/json_response/composer.json | 42 +++++++++++++++++++ .../Extensions/json_response/ext_emconf.php | 4 +- .../private_container/composer.json | 42 +++++++++++++++++++ .../private_container/ext_emconf.php | 2 +- 4 files changed, 87 insertions(+), 3 deletions(-) create mode 100644 Resources/Core/Functional/Extensions/json_response/composer.json create mode 100644 Resources/Core/Functional/Extensions/private_container/composer.json diff --git a/Resources/Core/Functional/Extensions/json_response/composer.json b/Resources/Core/Functional/Extensions/json_response/composer.json new file mode 100644 index 00000000..e0b15d7d --- /dev/null +++ b/Resources/Core/Functional/Extensions/json_response/composer.json @@ -0,0 +1,42 @@ +{ + "name": "typo3/testing-json-response", + "type": "typo3-cms-extension", + "description": "Providing testing framework extension for functional testing.", + "keywords": [ + "typo3", + "testing", + "tests" + ], + "homepage": "https://typo3.org/", + "license": "GPL-2.0-or-later", + "authors": [ + { + "name": "TYPO3 CMS Core Team", + "role": "Developer", + "homepage": "https://forge.typo3.org/projects/typo3cms-core" + }, + { + "name": "The TYPO3 Community", + "role": "Contributor", + "homepage": "https://typo3.org/community/" + } + ], + "support": { + "general": "https://typo3.org/support/", + "issues": "https://github.com/TYPO3/testing-framework/issues" + }, + "require": { + "php": "^8.1", + "typo3/cms-core": "12.*.*@dev || 13.*.*@dev" + }, + "autoload": { + "psr-4": { + "TYPO3\\JsonResponse\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "json_response" + } + } +} diff --git a/Resources/Core/Functional/Extensions/json_response/ext_emconf.php b/Resources/Core/Functional/Extensions/json_response/ext_emconf.php index 70dd550f..33519891 100644 --- a/Resources/Core/Functional/Extensions/json_response/ext_emconf.php +++ b/Resources/Core/Functional/Extensions/json_response/ext_emconf.php @@ -4,14 +4,14 @@ 'title' => 'JSON Response', 'description' => 'JSON Response', 'category' => 'example', - 'version' => '9.4.0', + 'version' => '1.0.0', 'state' => 'beta', 'author' => 'Oliver Hader', 'author_email' => 'oliver@typo3.org', 'author_company' => '', 'constraints' => [ 'depends' => [ - 'typo3' => '9.4.0', + 'typo3' => '12.0.0 - 13.9.99', ], 'conflicts' => [], 'suggests' => [], diff --git a/Resources/Core/Functional/Extensions/private_container/composer.json b/Resources/Core/Functional/Extensions/private_container/composer.json new file mode 100644 index 00000000..f8c30d36 --- /dev/null +++ b/Resources/Core/Functional/Extensions/private_container/composer.json @@ -0,0 +1,42 @@ +{ + "name": "typo3/testing-private-container", + "type": "typo3-cms-extension", + "description": "Providing testing framework extension for functional testing.", + "keywords": [ + "typo3", + "testing", + "tests" + ], + "homepage": "https://typo3.org/", + "license": "GPL-2.0-or-later", + "authors": [ + { + "name": "TYPO3 CMS Core Team", + "role": "Developer", + "homepage": "https://forge.typo3.org/projects/typo3cms-core" + }, + { + "name": "The TYPO3 Community", + "role": "Contributor", + "homepage": "https://typo3.org/community/" + } + ], + "support": { + "general": "https://typo3.org/support/", + "issues": "https://github.com/TYPO3/testing-framework/issues" + }, + "require": { + "php": "^8.1", + "typo3/cms-core": "12.*.*@dev || 13.*.*@dev" + }, + "autoload": { + "psr-4": { + "TYPO3\\PrivateContainer\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "private_container" + } + } +} diff --git a/Resources/Core/Functional/Extensions/private_container/ext_emconf.php b/Resources/Core/Functional/Extensions/private_container/ext_emconf.php index c760d150..074e77b3 100644 --- a/Resources/Core/Functional/Extensions/private_container/ext_emconf.php +++ b/Resources/Core/Functional/Extensions/private_container/ext_emconf.php @@ -10,7 +10,7 @@ 'author_company' => '', 'constraints' => [ 'depends' => [ - 'typo3' => '11.0.0-12.99.99', + 'typo3' => '12.0.0-13.99.99', ], 'conflicts' => [], 'suggests' => [],