Closed (duplicate)
Project:
SimpleTest
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2009 at 22:18 UTC
Updated:
14 Feb 2009 at 07:06 UTC
Moving or removing the "files" directory from the "sites/[site-name]/" directory causes the following warnings:
I believe the following is happening:
In class DrupalWebTestCase setUp() (drupal_web_test_case.php):
variable_set('file_directory_path', file_directory_path() . '/' . $db_prefix); $directory = file_directory_path();
file_check_directory($directory, FILE_CREATE_DIRECTORY); // Create the files directory.
A work-around for the problem is insuring a "sites/[site-name]/files" directory exists, regardless of the real files path.
Comments
Comment #1
boombatower commentedSeems like this is duplicate?
#335756: SimpleTest: $this->originalFileDirectory should be set before installation to ensure non-standard directories are picked up
If so lets link to this for another report in the other issue and mark this as a duplicate.
Comment #2
dale42Yes, that looks like same issue to me.
Comment #3
dale42