Project

General

Profile

Actions

Bug #70544

closed

$instancePath is not accessible in "Functional Tests"

Added by most wanted over 8 years ago. Updated over 8 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 #1

Updated by most wanted over 8 years ago

Not needed. PATH_site could be used.

Actions #2

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Needs Feedback

So we can close this ticket?

Actions #3

Updated by most wanted over 8 years ago

yes. thx.

Actions #4

Updated by Wouter Wolters over 8 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF