You are here

public function TestSubContext::cleanupPrivateFiles in Drupal Commons 7.3

Clean up our temporary private files path.

@AfterScenario @api&&@drupal_private_files

File

tests/steps/commons_test.behat.inc, line 121
Provide Behat step-definitions for generic Commons tests.

Class

TestSubContext

Code

public function cleanupPrivateFiles($event) {
  if ($this->private_path_overridden) {
    variable_del('file_private_path');
  }
}