You are here

public function QueuerConfigFormTest::testSaveConfigurationSubmit in Purge 8.3

Same name in this branch
  1. 8.3 modules/purge_queuer_coretags/tests/src/Functional/QueuerConfigFormTest.php \Drupal\Tests\purge_queuer_coretags\Functional\QueuerConfigFormTest::testSaveConfigurationSubmit()
  2. 8.3 tests/modules/purge_queuer_test/tests/src/Functional/QueuerConfigFormTest.php \Drupal\Tests\purge_queuer_test\Functional\QueuerConfigFormTest::testSaveConfigurationSubmit()
  3. 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

tests/modules/purge_queuer_test/tests/src/Functional/QueuerConfigFormTest.php, line 64

Class

QueuerConfigFormTest
Tests \Drupal\purge_queuer_test\Form\QueuerConfigForm.

Namespace

Drupal\Tests\purge_queuer_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');
}