protected function FileHashTest::setUp in File Hash 8
Overrides WebTestBase::setUp().
Overrides FileFieldTestBase::setUp
File
- tests/
src/ Functional/ FileHashTest.php, line 40
Class
- FileHashTest
- File Hash tests.
Namespace
Drupal\Tests\filehash\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->drupalLogin($this->adminUser);
$this
->drupalGet('admin/config/media/filehash');
$fields = [
'algos[sha1]' => TRUE,
];
$this
->submitForm($fields, $this
->t('Save configuration'));
}