public function RemoveHttpHeadersTest::setUp in Remove HTTP headers 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ RemoveHttpHeadersTest.php, line 53
Class
- RemoveHttpHeadersTest
- Functional tests for Remove HTTP Headers module.
Namespace
Drupal\Tests\remove_http_headers\FunctionalCode
public function setUp() : void {
parent::setUp();
$this->configFactory = $this->container
->get('config.factory', ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE);
$admin = $this
->drupalCreateUser([
'remove_http_headers settings access',
]);
$this
->drupalLogin($admin);
}