[BUGFIX] Show commands for GDlib tests 22/38322/2
authorGeorg Ringer <georg.ringer@gmail.com>
Fri, 27 Mar 2015 21:21:31 +0000 (22:21 +0100)
committerBenjamin Mack <benni@typo3.org>
Sat, 28 Mar 2015 11:13:44 +0000 (12:13 +0100)
The tests for GDlib should show the commands used for the calls as well.
Those are currently hidden because of a typo in the array key.

Resolves: #65871
Releases: master, 6.2
Change-Id: I85f1a58b79759fd098c86c144f1c6dfbe8f556b6
Reviewed-on: http://review.typo3.org/38312
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
(cherry picked from commit cb4a24a4241c8b83069b961ed8c58ff0a06228f4)
Reviewed-on: http://review.typo3.org/38322
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/install/Classes/Controller/Action/Tool/TestSetup.php

index f20551f..94ba7fe 100644 (file)
@@ -500,7 +500,7 @@ class TestSetup extends Action\AbstractAction {
                        $testResults['niceText']['title'] = 'Render text with TrueType font using \'niceText\' option';
                        $testResults['niceText']['outputFile'] = $result[3];
                        $testResults['niceText']['referenceFile'] = $this->imageBasePath . 'TestReference/Gdlib-niceText.' . $gifOrPng;
-                       $testResults['niceText']['commands'] = $imageProcessor->IM_commands;
+                       $testResults['niceText']['command'] = $imageProcessor->IM_commands;
                        /** @var \TYPO3\CMS\Install\Status\StatusInterface $message */
                        $message = $this->objectManager->get('TYPO3\\CMS\\Install\\Status\\InfoStatus');
                        $message->setTitle('Note on \'niceText\'');
@@ -536,7 +536,7 @@ class TestSetup extends Action\AbstractAction {
                        $testResults['shadow']['title'] = 'Render \'niceText\' with a shadow under';
                        $testResults['shadow']['outputFile'] = $result[3];
                        $testResults['shadow']['referenceFile'] = $this->imageBasePath . 'TestReference/Gdlib-shadow.' . $gifOrPng;
-                       $testResults['shadow']['commands'] = $imageProcessor->IM_commands;
+                       $testResults['shadow']['command'] = $imageProcessor->IM_commands;
                        /** @var \TYPO3\CMS\Install\Status\StatusInterface $message */
                        $message = $this->objectManager->get('TYPO3\\CMS\\Install\\Status\\InfoStatus');
                        $message->setTitle('Note on \'shadow\'');