protected function MediaEntityReferenceTest::postSetupFixture in Entity Share 8.3
Helper function.
Need to separate those steps from the setup in the base class, because some sub-class setup may change the content of the fixture.
Overrides EntityShareClientFunctionalTestBase::postSetupFixture
1 call to MediaEntityReferenceTest::postSetupFixture()
- MediaEntityReferenceTest::setUp in modules/
entity_share_client/ tests/ src/ Functional/ MediaEntityReferenceTest.php - @SuppressWarnings(PHPMD.UndefinedVariable) Bug in PHPMD,
File
- modules/
entity_share_client/ tests/ src/ Functional/ MediaEntityReferenceTest.php, line 93
Class
- MediaEntityReferenceTest
- Functional test class for media entity reference field.
Namespace
Drupal\Tests\entity_share_client\FunctionalCode
protected function postSetupFixture() {
$this
->prepareContent();
$this
->populateRequestService();
// Delete the physical file after populating the request service.
foreach (static::$filesData as $file_data) {
$this->fileSystem
->delete($file_data['uri']);
}
$this
->deleteContent();
}