[TASK] Functional tests for LocalizationController 70/48470/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 17 Mar 2016 14:21:15 +0000 (15:21 +0100)
committerNicole Cordes <typo3@cordes.co>
Tue, 7 Jun 2016 07:07:49 +0000 (09:07 +0200)
commit09c753aefa80d54bf20f1ccf45ce40204dd66f51
treedf585bc676f60652a84bca79c970e15d6367fab3
parent51d429d0cce888537172b3f524991722c37d42b2
[TASK] Functional tests for LocalizationController

The LocalizationController used by the localization wizard is
now covered by some functional tests.
For better testability, the DataHandler processing in the
controller is moved into its own method.

Resolves: #75160
Related: #73617
Releases: master, 7.6
Change-Id: I3275f51d3dfec55ace3d8dbe7130c3f18b963341
Reviewed-on: https://review.typo3.org/48470
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/backend/Classes/Controller/Page/LocalizationController.php
typo3/sysext/backend/Tests/Functional/Controller/Page/Fixtures/tt_content-danish-language.xml [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/Controller/Page/Fixtures/tt_content-default-language.xml [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/Fixtures/pages.xml [new file with mode: 0644]