You are here

7 calls to FormTestBase::simulateFormSubmission() in Drupal 9

FormBuilderTest::testFormCacheDeletionCached in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests that a cached form is deleted after submit.
FormBuilderTest::testFormCacheDeletionUncached in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests that an uncached form does not trigger cache set or delete.
FormBuilderTest::testHandleFormStateResponse in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests the handling of FormStateInterface::$response.
FormBuilderTest::testHandleRedirectWithResponse in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests the handling of a redirect when FormStateInterface::$response exists.
FormBuilderTest::testInvalidToken in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
@covers ::doBuildForm
FormBuilderTest::testUniqueElementHtmlId in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests that HTML IDs are unique between 2 forms with the same element names.
FormBuilderTest::testUniqueHtmlId in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests that HTML IDs are unique when rebuilding a form with errors.