[TASK] Raise typo3/testing-framework to ~5.0.1 63/59363/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 7 Jan 2019 19:51:32 +0000 (20:51 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 7 Jan 2019 20:35:32 +0000 (21:35 +0100)
The new version no longer uses two deprecated frontend
hooks and switches to proper psr-15 middleware instead.
This unlocks the according hook removal for core in
a separate patch.

composer require --dev typo3/testing-framework ~5.0.1

Change-Id: Ia30704174d975df6a253b0bac66e037b5dc4987d
Resolves: #87358
Reviewed-on: https://review.typo3.org/59363
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
composer.json
composer.lock
typo3/sysext/core/Tests/Functional/Fixtures/Frontend/AdditionalConfiguration.php
typo3/sysext/core/composer.json

index 77fd7fc..60bb587 100644 (file)
@@ -68,7 +68,7 @@
                "fiunchinho/phpunit-randomizer": "^4.0",
                "friendsofphp/php-cs-fixer": "^2.12.2",
                "typo3/cms-styleguide": "~10.0.1",
-               "typo3/testing-framework": "~5.0.0"
+               "typo3/testing-framework": "~5.0.1"
        },
        "suggest": {
                "ext-gd": "GDlib/Freetype is required for building images with text (GIFBUILDER) and can also be used to scale images",
index 6a65e0e..342cd66 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "cbd34e682c7f951eda37a610bdc468a1",
+    "content-hash": "0ecc669ee1c2ba7cab45ae76d15fd49c",
     "packages": [
         {
             "name": "cogpowered/finediff",
         },
         {
             "name": "typo3/testing-framework",
-            "version": "5.0.0",
+            "version": "5.0.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/TYPO3/testing-framework.git",
-                "reference": "1a773fe87465a81015d5e09151770bbb5f9cf90b"
+                "reference": "555a52baa86b865175b58c1ef457e5122622799e"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/1a773fe87465a81015d5e09151770bbb5f9cf90b",
-                "reference": "1a773fe87465a81015d5e09151770bbb5f9cf90b",
+                "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/555a52baa86b865175b58c1ef457e5122622799e",
+                "reference": "555a52baa86b865175b58c1ef457e5122622799e",
                 "shasum": ""
             },
             "require": {
             },
             "suggest": {
                 "codeception/codeception": "^2.4",
-                "typo3/cms-styleguide": "^10.0"
+                "typo3/cms-styleguide": "^9.0"
             },
             "type": "library",
             "autoload": {
                     "TYPO3\\TestingFramework\\": "Classes/"
                 }
             },
+            "notification-url": "https://packagist.org/downloads/",
             "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",
+                    "homepage": "https://typo3.org/community/",
+                    "role": "Contributor"
                 },
                 {
-                    "name": "The TYPO3 Community",
-                    "role": "Contributor",
-                    "homepage": "https://typo3.org/community/"
+                    "name": "TYPO3 CMS Core Team",
+                    "homepage": "https://forge.typo3.org/projects/typo3cms-core",
+                    "role": "Developer"
                 }
             ],
             "description": "The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.",
                 "tests",
                 "typo3"
             ],
-            "support": {
-                "general": "https://typo3.org/support/",
-                "issues": "https://github.com/TYPO3/testing-framework/issues",
-                "source": "https://github.com/lolli42/testing-framework/tree/5.0.0"
-            },
-            "time": "2018-12-14T15:39:33+00:00"
+            "time": "2019-01-07T20:10:58+00:00"
         },
         {
             "name": "webmozart/assert",
index bcd6a16..dc78d6c 100644 (file)
@@ -9,10 +9,6 @@ $GLOBALS['TYPO3_CONF_VARS']['FE']['debug'] = false;
 
 // Register hooks for frontend test
 if (TYPO3_MODE === 'FE') {
-    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['initFEuser']['FunctionalTest'] =
-        \TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Hook\FrontendUserHandler::class . '->initialize';
-    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/index_ts.php']['postBeUser']['FunctionalTest'] =
-        \TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Hook\BackendUserHandler::class . '->initialize';
     $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Core/TypoScript/TemplateService']['runThroughTemplatesPostProcessing']['FunctionalTest'] =
         \TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Hook\TypoScriptInstructionModifier::class . '->apply';
 }
index 1c40289..5bce210 100644 (file)
@@ -51,7 +51,7 @@
                "fiunchinho/phpunit-randomizer": "^4.0",
                "friendsofphp/php-cs-fixer": "^2.12.2",
                "typo3/cms-styleguide": "~10.0.1",
-               "typo3/testing-framework": "~5.0.0"
+               "typo3/testing-framework": "~5.0.1"
        },
        "suggest": {
                "ext-fileinfo": "Used for proper file type detection in the file abstraction layer",