JsonApiRequestTestTrait.php

Same filename in other branches
  1. 9 core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php
  2. 8.9.x core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php
  3. 11.x core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php

Namespace

Drupal\Tests\jsonapi\Functional

File

core/modules/jsonapi/tests/src/Functional/JsonApiRequestTestTrait.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\jsonapi\Functional;

use Drupal\Tests\ApiRequestTrait;

/**
 * Boilerplate for JSON:API Functional tests' HTTP requests.
 *
 * @internal
 */
trait JsonApiRequestTestTrait {
    use ApiRequestTrait {
        makeApiRequest as request;
    }

}

Traits

Title Deprecated Summary
JsonApiRequestTestTrait Boilerplate for JSON:API Functional tests' HTTP requests.

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