function ResponseGeneratorTest::setUp
Overrides BrowserTestBase::setUp
File
- 
              core/modules/ system/ tests/ src/ Functional/ System/ ResponseGeneratorTest.php, line 31 
Class
- ResponseGeneratorTest
- Tests to see if generator header is added.
Namespace
Drupal\Tests\system\Functional\SystemCode
protected function setUp() : void {
  parent::setUp();
  $this->drupalCreateContentType([
    'type' => 'page',
    'name' => 'Basic page',
  ]);
  $account = $this->drupalCreateUser([
    'access content',
  ]);
  $this->drupalLogin($account);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
