public function PurgerConfigFormTest::testSaveConfigurationSubmit in Purge 8.3
Same name in this branch
- 8.3 tests/modules/purge_purger_test/tests/src/Functional/PurgerConfigFormTest.php \Drupal\Tests\purge_purger_test\Functional\PurgerConfigFormTest::testSaveConfigurationSubmit()
- 8.3 modules/purge_ui/tests/src/Functional/Form/PurgerConfigFormTest.php \Drupal\Tests\purge_ui\Functional\Form\PurgerConfigFormTest::testSaveConfigurationSubmit()
Tests save button presence/absence.
Overrides PluginConfigFormTestBase::testSaveConfigurationSubmit
File
- tests/
modules/ purge_purger_test/ tests/ src/ Functional/ PurgerConfigFormTest.php, line 64
Class
Namespace
Drupal\Tests\purge_purger_test\FunctionalCode
public function testSaveConfigurationSubmit() : void {
$this
->drupalLogin($this->adminUser);
$edit = [
'textfield' => "The moose in the noose ate the goose who was loose.",
];
$this
->drupalPostForm($this
->getPath(), $edit, 'Save configuration');
}