protected function ConfigInstallerFrDirectorySyncTest::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/ ConfigInstallerFrDirectorySyncTest.php, line 33
Class
- ConfigInstallerFrDirectorySyncTest
- Tests the config installer profile by linking to a directory.
Namespace
Drupal\Tests\config_installer\FunctionalCode
protected function setUpSyncForm() {
// Create a new sync directory.
drupal_mkdir($this->syncDir);
// Extract the tarball into the sync directory.
$this
->extractTarball($this
->getTarball(), $this->syncDir);
$this
->drupalPostForm(NULL, [
'sync_directory' => drupal_realpath($this->syncDir),
], 'Save and continue');
}