Skip to content
Snippets Groups Projects
Commit f20ce0d9 authored by Steffen Kamper's avatar Steffen Kamper
Browse files

Follow-up to #3819: t3lib_div::getIndpEnv('TYPO3_DOCUMENT_ROOT') delivers wrong value in Backend

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8592 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 3b092b5d
No related merge requests found
......@@ -4,6 +4,7 @@
 
2010-08-12 Steffen Kamper <steffen@typo3.org>
 
* Follow-up to #3819: t3lib_div::getIndpEnv('TYPO3_DOCUMENT_ROOT') delivers wrong value in Backend
* Fixed bug #3819: t3lib_div::getIndpEnv('TYPO3_DOCUMENT_ROOT') delivers wrong value in Backend
* Fixed bug #15020: Enhancement of t3lib_div::testInt (Thanks to Michiel Roos)
* Fixed bug #15029: Testcase for t3lib_div::isFirstPartOfStr is missing. (Thanks to Nikolas Hagestein)
......
......@@ -112,7 +112,7 @@ class t3lib_cache_backend_FileBackendTest extends tx_phpunit_testcase {
*/
public function getCacheDirectoryReturnsTheCurrentCacheDirectory() {
$directory = $this->testingCacheDirectory;
$fullPathToDirectory = t3lib_div::getIndpEnv('TYPO3_DOCUMENT_ROOT') . '/' . $directory;
$fullPathToDirectory = PATH_site . $directory;
$this->backend->setCacheDirectory($directory);
$this->assertEquals($fullPathToDirectory, $this->backend->getCacheDirectory(), 'getCacheDirectory() did not return the expected value.');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment