In DrupalUnitTestCase::setUp(), $conf['file_public_path'] = $this->databasePrefix which looks 'simpletestXXXXXX'.

Two things:
- we do not create a directory corresponding to this path
- the path differs from that in DrupalWebTestCase which has 'simpletest/XXXXXX'.

CommentFileSizeAuthor
#1 922062-unit-test-case.patch1.2 KBsolotandem
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

solotandem’s picture

Status: Active » Needs review
FileSize
1.2 KB

A massive 3-line patch.

boombatower’s picture

Status: Needs review » Reviewed & tested by the community

Thought we did this months ago. :)

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.