Actions
Feature #72448
closedAdditional parameters for Frontend requests
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2015-12-27
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
testing-framework
Complexity:
no-brainer
Sprint Focus:
Description
In a functional test I need to test Extbase controller which requires various parameters from the client. The current \TYPO3\CMS\Core\Tests\FunctionalTestCase::getFrontendResponse()
doesn't allow me to pass those parameters to the Frontend. My proposal would be:
protected function getFrontendResponse($pageId, $languageId = 0, $backendUserId = 0, $workspaceId = 0, $failOnFailure = true, $frontendUserId = 0, $additionalParameter = array()) { [...] }
The new parameter $additionalParameter
could allow to pass custom parameters through HTTP GET to the Frontend. I could contribute if you want.
Actions