title: Laravel setting filesystem path in circle ci?
body: <p>The main issue is that when I run phpunit in circleci with a test that requires the creation of folders and files it fails.</p>
  
  <p>Folder creation is done with:</p>
  
  <pre><code>$path = 'pdf-files';
  $fullPath = sprintf('%s/%s', storage_path(), $path);
  File::makeDirectory($fullPath, 0775, true, true);
  </code></pre>
  
  <p>The test are green and passing locally but it does fails in CircleCi because the files are being saved in <code>/var/www/project</code>, but for some reason the application keeps looking for the folder and files in <code>/home/ubuntu/project</code> even tho the application is saving the file in another locacation.</p>
  
  <p>What is the best way to fix this issue?</p>