protected function WebformElementManagedFileTestBase::setUp in Webform 8.5
Same name and namespace in other branches
- 6.x tests/src/Functional/Element/WebformElementManagedFileTestBase.php \Drupal\Tests\webform\Functional\Element\WebformElementManagedFileTestBase::setUp()
Overrides WebformBrowserTestBase::setUp
1 call to WebformElementManagedFileTestBase::setUp()
- WebformElementManagedFileTest::setUp in tests/
src/ Functional/ Element/ WebformElementManagedFileTest.php
1 method overrides WebformElementManagedFileTestBase::setUp()
- WebformElementManagedFileTest::setUp in tests/
src/ Functional/ Element/ WebformElementManagedFileTest.php
File
- tests/
src/ Functional/ Element/ WebformElementManagedFileTestBase.php, line 39
Class
- WebformElementManagedFileTestBase
- Base class for testing webform element managed file handling.
Namespace
Drupal\Tests\webform\Functional\ElementCode
protected function setUp() {
parent::setUp();
$this->fileUsage = $this->container
->get('file.usage');
$this->files = $this
->getTestFiles('text');
$this
->verbose('<pre>' . print_r($this->files, TRUE) . '</pre>');
}