You are here

protected function ConfigInstallerFrTarballTest::setUpSyncForm in Configuration installer 8

Submit the config_installer_sync_configure_form.

Overrides ConfigInstallerTestBase::setUpSyncForm

See also

\Drupal\config_installer\Form\SyncConfigureForm

File

tests/src/Functional/ConfigInstallerFrTarballTest.php, line 15

Class

ConfigInstallerFrTarballTest
Tests the config installer profile by uploading a tarball.

Namespace

Drupal\Tests\config_installer\Functional

Code

protected function setUpSyncForm() {

  // Upload the tarball.
  $this
    ->drupalPostForm(NULL, [
    'files[import_tarball]' => $this
      ->getTarball(),
  ], 'Save and continue');
}