protected function FixtureTrait::fixtureSetUp in Mini site 8
Set up functionality.
Must be added to setUp() method of the test class.
3 calls to FixtureTrait::fixtureSetUp()
- FixtureTest::setUp in tests/
src/ Unit/ FixtureTest.php - FixtureTest::testSetupTeardown in tests/
src/ Unit/ FixtureTest.php - Test SetUp and TearDown methods for the trait.
- MinisiteTestBase::setUp in tests/
src/ Functional/ MinisiteTestBase.php
File
- tests/
src/ Traits/ FixtureTrait.php, line 26
Class
- FixtureTrait
- Trait FixtureTrait.
Namespace
Drupal\Tests\minisite\TraitsCode
protected function fixtureSetUp() {
$fs = new Filesystem();
$this->fixtureDir = sys_get_temp_dir() . \DIRECTORY_SEPARATOR . uniqid();
$fs
->mkdir($this->fixtureDir);
}