trait JsonApiRequestTestTrait

Same name in other branches
  1. 9 core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php \Drupal\Tests\jsonapi\Functional\JsonApiRequestTestTrait
  2. 8.9.x core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php \Drupal\Tests\jsonapi\Functional\JsonApiRequestTestTrait
  3. 10 core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php \Drupal\Tests\jsonapi\Functional\JsonApiRequestTestTrait

Boilerplate for JSON:API Functional tests' HTTP requests.

@internal

Hierarchy

1 file declares its use of JsonApiRequestTestTrait
ImageUploadTest.php in core/modules/ckeditor5/tests/src/Functional/ImageUploadTest.php

File

core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php, line 14

Namespace

Drupal\Tests\jsonapi\Functional
View source
trait JsonApiRequestTestTrait {
    use ApiRequestTrait {
        makeApiRequest as request;
    }

}

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