Project

General

Profile

Actions

Bug #70544

closed

$instancePath is not accessible in "Functional Tests"

Added by most wanted about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2015-10-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

typo3/sysext/core/Tests/FunctionalTestCase.php::$instancePath returns the "Path to TYPO3 CMS test installation for this test case". This variable is private thus it is not possible to read this variable to be used in a Functional Test. This could be handy to e.g. run a command controller's command via PHP's exec and typo3/cli_dispatch.phpsh within a Functional Test (to test this command).


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Task #56193: Extend FunctionalTestCase to get the instance path within a testRejected2014-02-21

Actions
Actions

Also available in: Atom PDF