You are here

public function ProcessorConfigFormTest::testSaveConfigurationSubmit in Purge 8.3

Same name in this branch
  1. 8.3 tests/modules/purge_processor_test/tests/src/Functional/ProcessorConfigFormTest.php \Drupal\Tests\purge_processor_test\Functional\ProcessorConfigFormTest::testSaveConfigurationSubmit()
  2. 8.3 modules/purge_ui/tests/src/Functional/Form/ProcessorConfigFormTest.php \Drupal\Tests\purge_ui\Functional\Form\ProcessorConfigFormTest::testSaveConfigurationSubmit()

Tests save button presence/absence.

Overrides PluginConfigFormTestBase::testSaveConfigurationSubmit

File

tests/modules/purge_processor_test/tests/src/Functional/ProcessorConfigFormTest.php, line 64

Class

ProcessorConfigFormTest
Tests \Drupal\purge_processor_test\Form\ProcessorConfigForm.

Namespace

Drupal\Tests\purge_processor_test\Functional

Code

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');
}