Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fixed bug where test suite did not check whether cache dir exists bef…
Browse files Browse the repository at this point in the history
…ore touch()
  • Loading branch information
Rob Tuley committed Jul 31, 2011
1 parent 63fc39f commit e034d81
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/Test/Code/Files.php
Expand Up @@ -2,6 +2,11 @@
class T_Test_Code_Files extends T_Unit_Case
{

function setUp()
{
if (!is_dir(T_CACHE_DIR)) mkdir(T_CACHE_DIR);
}

function testExceptionThrownIfOneOfFilesDoNotExist()
{
try {
Expand Down

0 comments on commit e034d81

Please sign in to comment.