You are here

public function RequestTestJsonapi::testRequests in OpenAPI for JSON:API 8.2

Same name and namespace in other branches
  1. 3.x tests/src/Functional/RequestTestJsonapi.php \Drupal\Tests\openapi_jsonapi\Functional\RequestTestJsonapi::testRequests()

Tests OpenAPI requests.

@dataProvider providerRequestTypes

File

tests/src/Functional/RequestTestJsonapi.php, line 49

Class

RequestTestJsonapi
REST tests for requests on OpenAPI routes.

Namespace

Drupal\Tests\openapi_jsonapi\Functional

Code

public function testRequests($api_module, $options = []) {
  $this
    ->requestOpenApiJson($api_module, $options);
}