protected function FixtureTrait::fixtureTearDown in Mini site 8
Tear down functionality.
Must be added to tearDown() method of the test class.
3 calls to FixtureTrait::fixtureTearDown()
- FixtureTest::tearDown in tests/
src/ Unit/ FixtureTest.php - FixtureTest::testSetupTeardown in tests/
src/ Unit/ FixtureTest.php - Test SetUp and TearDown methods for the trait.
- MinisiteTestBase::tearDown in tests/
src/ Functional/ MinisiteTestBase.php
File
- tests/
src/ Traits/ FixtureTrait.php, line 37
Class
- FixtureTrait
- Trait FixtureTrait.
Namespace
Drupal\Tests\minisite\TraitsCode
protected function fixtureTearDown() {
$fs = new Filesystem();
if ($fs
->exists($this->fixtureDir)) {
$fs
->remove($this->fixtureDir);
}
$this->fixtureDir = NULL;
}