Permalink
Browse files

Fixed bug where test suite did not check whether cache dir exists bef…

…ore touch()
  • Loading branch information...
1 parent 63fc39f commit e034d81f57853ddd1bddcb70f52ee3847cebe4f6 Rob Tuley committed Jul 31, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 client/Test/Code/Files.php
@@ -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 {

0 comments on commit e034d81

Please sign in to comment.