[TASK] Functional tests for translated tt_content rendering in Extbase 56/53756/2
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Sat, 19 Aug 2017 17:16:49 +0000 (19:16 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 21 Aug 2017 15:33:26 +0000 (17:33 +0200)
commitcd3dbbae3c2a5a0f0710db4808da7174257a57ac
tree6947ddef16407b282d89783422ef667e636283fd
parentc949e715ca2a40fda04d7a644467b09743ee2dec
[TASK] Functional tests for translated tt_content rendering in Extbase

Introduce and Extbase version of the LocalizedContentRenderingTest.
It tests how language related TS settings influences content rendering.

Also changes exception code in ContentController, to make bamboo happy.

This test suite is documenting current behaviour, which is in fact
inconsistent with TypoScript tt_content rendering.

The next step is to provide a fix for extbase with a feature switch,
so this test suite will become a version with feature swich being disabled.

Resolves: #81823
Releases: master, 8.7, 7.6
Change-Id: Ia616e5089b0209cfb895216726f7192f39c88a45
Reviewed-on: https://review.typo3.org/53756
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Controller/ContentController.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Model/TtContent.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Classes/Domain/Repository/TtContentRepository.php [new file with mode: 0644]
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/ext_localconf.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/ext_typoscript_setup.txt
typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/Frontend/ContentJsonRenderer.ts [new file with mode: 0644]
typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedContentTest.php [new file with mode: 0644]