function SiteSettingsFormTest::testSiteSettingsForm

Confirms that the form is extensible.

File

core/tests/Drupal/FunctionalTests/Installer/SiteSettingsFormTest.php, line 29

Class

SiteSettingsFormTest
Tests the extension of the site settings form.

Namespace

Drupal\FunctionalTests\Installer

Code

public function testSiteSettingsForm() : void {
  // Test that the form page can be loaded without errors.
  $this->drupalGet('test-form');
  $this->assertSession()
    ->statusCodeEquals(200);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.