You are here

protected function RequestTestJsonapi::buildExpectationsDirectory 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::buildExpectationsDirectory()

Builds the expectations directory.

Return value

string The expectations directory.

Overrides RequestTestBase::buildExpectationsDirectory

File

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

Class

RequestTestJsonapi
REST tests for requests on OpenAPI routes.

Namespace

Drupal\Tests\openapi_jsonapi\Functional

Code

protected function buildExpectationsDirectory() {
  return sprintf('%s/expectations/%s', dirname(dirname(__DIR__)), static::API_MODULE);
}