You are here

public function FormSubmitterTest::providerTestHandleFormSubmissionWithResponses in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php \Drupal\Tests\Core\Form\FormSubmitterTest::providerTestHandleFormSubmissionWithResponses()

File

core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php, line 101
Contains \Drupal\Tests\Core\Form\FormSubmitterTest.

Class

FormSubmitterTest
@coversDefaultClass \Drupal\Core\Form\FormSubmitter @group Form

Namespace

Drupal\Tests\Core\Form

Code

public function providerTestHandleFormSubmissionWithResponses() {
  return array(
    array(
      'Symfony\\Component\\HttpFoundation\\Response',
      'response',
    ),
    array(
      'Symfony\\Component\\HttpFoundation\\RedirectResponse',
      'redirect',
    ),
  );
}