You are here

public function TestSubContext::cleanFiles in Panopoly 8.2

Same name and namespace in other branches
  1. 7 modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc \TestSubContext::cleanFiles()

Cleans up files after every scenario.

@AfterScenario @api

File

modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc, line 538
Provide Behat step-definitions for generic Panopoly tests.

Class

TestSubContext
Behat sub-context for Panopoly.

Code

public function cleanFiles($event) {

  // Get UIDs of users created during this scenario.
  $uids = $this
    ->getUids();
  if (!empty($uids)) {

    // @todo Implement for Drupal 8!
  }
}