[BUGFIX] Correct typo of ActionService->getDataHandler() 62/37962/2
authorStephan Großberndt <stephan@grossberndt.de>
Sun, 15 Mar 2015 13:39:57 +0000 (14:39 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 31 Mar 2015 16:55:06 +0000 (18:55 +0200)
Fix typo in method name "getDataHander" of TYPO3\CMS\Core\Tests\
Functional\DataHandling\Framework\ActionService and its usages.

Resolves: #65746
Releases: master, 6.2
Change-Id: I85dd7fe93b89e51d156ab25dbdb2c84f40afa337
Reviewed-on: http://review.typo3.org/37962
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Tests/Functional/DataHandling/Framework/ActionService.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php

index 7c8e912..78150e3 100644 (file)
@@ -29,7 +29,7 @@ class ActionService {
        /**
         * @return DataHandler
         */
-       public function getDataHander() {
+       public function getDataHandler() {
                return $this->dataHandler;
        }
 
index 5577ec3..a738605 100644 (file)
@@ -281,7 +281,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->recordIds['newContentId'] = $newTableIds['tt_content'][0];
                $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_PageId);
                $this->recordIds['copiedContentId'] = $copiedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
-               $versionedCopiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['copiedContentId']);
+               $versionedCopiedContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, $this->recordIds['copiedContentId']);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $versionedCopiedContentId);
        }
 
@@ -318,7 +318,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                        )
                );
                $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
-               $this->recordIds['versionedNewContentId'] = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['newContentId']);
+               $this->recordIds['versionedNewContentId'] = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, $this->recordIds['newContentId']);
                $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_LanguageId);
                $this->recordIds['localizedContentId'] = $localizedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $this->recordIds['versionedNewContentId']);
@@ -340,7 +340,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
                $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_LanguageId);
                $this->recordIds['localizedContentId'] = $localizedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
-               $versionedLocalizedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['localizedContentId']);
+               $versionedLocalizedContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, $this->recordIds['localizedContentId']);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $versionedLocalizedContentId);
        }
 
@@ -382,7 +382,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => 4, 'title' => 'Testing #1'),
                        )
                );
-               $modifiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $modifiedContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $modifiedContentId);
        }
 
@@ -397,8 +397,8 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => 4, 'title' => 'Testing #1'),
                        )
                );
-               $modifiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
-               $modifiedHotelId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Hotel, 4);
+               $modifiedContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $modifiedHotelId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Hotel, 4);
                $this->actionService->clearWorkspaceRecords(
                                array(
                                        self::TABLE_Content => array($modifiedContentId),
@@ -443,9 +443,9 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => 4, 'title' => 'Testing #1'),
                        )
                );
-               $this->recordIds['versionedContentId'] = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
-               $this->recordIds['versionedHotelIdFirst'] = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Hotel, 3);
-               $this->recordIds['versionedHotelIdSecond'] = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Hotel, 4);
+               $this->recordIds['versionedContentId'] = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $this->recordIds['versionedHotelIdFirst'] = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Hotel, 3);
+               $this->recordIds['versionedHotelIdSecond'] = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Hotel, 4);
                $this->actionService->clearWorkspaceRecords(
                        array(
                                self::TABLE_Content => array($this->recordIds['versionedContentId']),
index d3a6408..651ffe7 100644 (file)
@@ -285,7 +285,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->recordIds['newContentId'] = $newTableIds['tt_content'][0];
                $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_PageId);
                $this->recordIds['copiedContentId'] = $copiedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
-               $versionedCopiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['copiedContentId']);
+               $versionedCopiedContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, $this->recordIds['copiedContentId']);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $versionedCopiedContentId);
        }
 
@@ -320,7 +320,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                        )
                );
                $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
-               $this->recordIds['versionedNewContentId'] = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['newContentId']);
+               $this->recordIds['versionedNewContentId'] = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, $this->recordIds['newContentId']);
                $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_LanguageId);
                $this->recordIds['localizedContentId'] = $localizedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $this->recordIds['versionedNewContentId']);
@@ -341,7 +341,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
                $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_LanguageId);
                $this->recordIds['localizedContentId'] = $localizedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
-               $versionedLocalizedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['localizedContentId']);
+               $versionedLocalizedContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, $this->recordIds['localizedContentId']);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $versionedLocalizedContentId);
        }
 
@@ -383,7 +383,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => 4, 'title' => 'Testing #1'),
                        )
                );
-               $modifiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $modifiedContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $modifiedContentId);
        }
 
@@ -398,8 +398,8 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => 4, 'title' => 'Testing #1'),
                        )
                );
-               $modifiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
-               $modifiedHotelId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Hotel, 4);
+               $modifiedContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $modifiedHotelId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Hotel, 4);
                $this->actionService->clearWorkspaceRecords(
                                array(
                                        self::TABLE_Content => array($modifiedContentId),
@@ -444,9 +444,9 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                                self::TABLE_Hotel => array('uid' => 4, 'title' => 'Testing #1'),
                        )
                );
-               $this->recordIds['versionedContentId'] = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
-               $this->recordIds['versionedHotelIdFirst'] = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Hotel, 3);
-               $this->recordIds['versionedHotelIdSecond'] = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Hotel, 4);
+               $this->recordIds['versionedContentId'] = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, self::VALUE_ContentIdFirst);
+               $this->recordIds['versionedHotelIdFirst'] = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Hotel, 3);
+               $this->recordIds['versionedHotelIdSecond'] = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Hotel, 4);
                $this->actionService->clearWorkspaceRecords(
                        array(
                                self::TABLE_Content => array($this->recordIds['versionedContentId']),
index 9a746ff..b2cf7f2 100644 (file)
@@ -81,7 +81,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
        public function createContentAndDiscardCreatedContent() {
                $newTableIds = $this->actionService->createNewRecord(self::TABLE_Content, self::VALUE_PageId, array('header' => 'Testing #1'));
                $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
-               $versionedNewContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['newContentId']);
+               $versionedNewContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, $this->recordIds['newContentId']);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $versionedNewContentId);
        }
 
@@ -93,7 +93,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
                $this->recordIds['newContentId'] = $newTableIds[self::TABLE_Content][0];
                $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, $this->recordIds['newContentId'], self::VALUE_PageId);
                $this->recordIds['copiedContentId'] = $copiedTableIds[self::TABLE_Content][$this->recordIds['newContentId']];
-               $versionedCopiedContentId = $this->actionService->getDataHander()->getAutoVersionId(self::TABLE_Content, $this->recordIds['copiedContentId']);
+               $versionedCopiedContentId = $this->actionService->getDataHandler()->getAutoVersionId(self::TABLE_Content, $this->recordIds['copiedContentId']);
                $this->actionService->clearWorkspaceRecord(self::TABLE_Content, $versionedCopiedContentId);
        }