public function QueuerConfigFormTest::testSaveConfigurationSubmit in Purge 8.3
Same name in this branch
- 8.3 modules/purge_queuer_coretags/tests/src/Functional/QueuerConfigFormTest.php \Drupal\Tests\purge_queuer_coretags\Functional\QueuerConfigFormTest::testSaveConfigurationSubmit()
- 8.3 tests/modules/purge_queuer_test/tests/src/Functional/QueuerConfigFormTest.php \Drupal\Tests\purge_queuer_test\Functional\QueuerConfigFormTest::testSaveConfigurationSubmit()
- 8.3 modules/purge_ui/tests/src/Functional/Form/QueuerConfigFormTest.php \Drupal\Tests\purge_ui\Functional\Form\QueuerConfigFormTest::testSaveConfigurationSubmit()
Tests save button presence/absence.
Overrides PluginConfigFormTestBase::testSaveConfigurationSubmit
File
- modules/
purge_ui/ tests/ src/ Functional/ Form/ QueuerConfigFormTest.php, line 38
Class
- QueuerConfigFormTest
- Tests the drop-in configuration form for queuers.
Namespace
Drupal\Tests\purge_ui\Functional\FormCode
public function testSaveConfigurationSubmit() : void {
// Since the stub form under test has no form submission
// implemented, we verify the presence of its textfield
// instead. Tests for real configuration form must of
// course test validation and submit thoroughly.
$this
->drupalLogin($this->adminUser);
$this
->drupalGet($this
->getPath());
$this
->assertSession()
->fieldExists('textfield');
}