public function setUp()
 {
     parent::setUp();
     //If AWS environment variables are not set, abort tests
     if (!$this->hasAwsCredentials()) {
         $this->markTestIncomplete('No AWS credentials set or incomplete, skipping AWS S3 Driver test suite.');
     }
     $this->refreshDriver();
     $this->content = $this->generateRandomContent();
 }
 public function tearDown()
 {
     parent::tearDown();
     //Clean up file driver files after each test
     $this->cleanupFilesInFolder(storage_path() . DIRECTORY_SEPARATOR . $this->fileStorageFolderRelativeToStoragePath);
 }
 /**
  * Setup the test environment.
  */
 public function setUp()
 {
     parent::setUp();
     $this->extensionGuesser = $this->app->make(ExtensionGuesser::class);
 }
 /**
  * This is called after each test is finished
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
 }