public function RequestTestJsonapi::testRequests in OpenAPI for JSON:API 3.x
Same name and namespace in other branches
- 8.2 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\FunctionalCode
public function testRequests($api_module, $options = []) {
$this
->requestOpenApiJson($api_module, $options);
}