You are here

protected function ConfigInstallerTestBase::setUpInstallConfigureForm in Configuration installer 8

Submit the config_installer_site_configure_form.

See also

\Drupal\config_installer\Form\SiteConfigureForm

1 call to ConfigInstallerTestBase::setUpInstallConfigureForm()
ConfigInstallerTestBase::setUpSite in tests/src/Functional/ConfigInstallerTestBase.php
Overrides method.
1 method overrides ConfigInstallerTestBase::setUpInstallConfigureForm()
ConfigInstallerFrDirectorySyncTest::setUpInstallConfigureForm in tests/src/Functional/ConfigInstallerFrDirectorySyncTest.php
Submit the config_installer_site_configure_form.

File

tests/src/Functional/ConfigInstallerTestBase.php, line 115

Class

ConfigInstallerTestBase
Provides functionality for testing the config_installer profile.

Namespace

Drupal\Tests\config_installer\Functional

Code

protected function setUpInstallConfigureForm() {
  $params = $this->parameters['forms']['install_configure_form'];
  unset($params['site_name']);
  unset($params['site_mail']);
  unset($params['update_status_module']);
  $edit = $this
    ->translatePostValues($params);
  $this
    ->drupalPostForm(NULL, $edit, $this->translations['Save and continue']);
}