Project

General

Profile

Actions

Feature #72448

closed

Additional parameters for Frontend requests

Added by Artus Kolanowski almost 9 years ago. Updated about 7 years ago.

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

Also available in: Atom PDF