function RestExportJsonApiUnsupportedTest::setUp
Overrides ViewTestBase::setUp
File
-
core/
modules/ jsonapi/ tests/ src/ Functional/ RestExportJsonApiUnsupportedTest.php, line 36
Class
- RestExportJsonApiUnsupportedTest
- Ensures that the 'api_json' format is not supported by the REST module.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected function setUp($import_test_views = TRUE, $modules = [
'rest_test_views',
]) : void {
parent::setUp($import_test_views, $modules);
$this->drupalLogin($this->drupalCreateUser([
'administer views',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.