function AjaxResponseTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php \Drupal\Tests\Core\Ajax\AjaxResponseTest::setUp()
  2. 8.9.x core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php \Drupal\Tests\Core\Ajax\AjaxResponseTest::setUp()
  3. 10 core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php \Drupal\Tests\Core\Ajax\AjaxResponseTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php, line 30

Class

AjaxResponseTest
@coversDefaultClass \Drupal\Core\Ajax\AjaxResponse @group Ajax

Namespace

Drupal\Tests\Core\Ajax

Code

protected function setUp() : void {
    parent::setUp();
    $this->ajaxResponse = new AjaxResponse();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.