function RestExportAuthTest::setUp
Same name in this branch
- 8.9.x core/modules/rest/tests/src/Kernel/Views/RestExportAuthTest.php \Drupal\Tests\rest\Kernel\Views\RestExportAuthTest::setUp()
Same name in other branches
- 9 core/modules/rest/tests/src/Functional/Views/RestExportAuthTest.php \Drupal\Tests\rest\Functional\Views\RestExportAuthTest::setUp()
- 10 core/modules/rest/tests/src/Functional/Views/RestExportAuthTest.php \Drupal\Tests\rest\Functional\Views\RestExportAuthTest::setUp()
- 11.x core/modules/rest/tests/src/Functional/Views/RestExportAuthTest.php \Drupal\Tests\rest\Functional\Views\RestExportAuthTest::setUp()
Overrides ViewTestBase::setUp
File
-
core/
modules/ rest/ tests/ src/ Functional/ Views/ RestExportAuthTest.php, line 28
Class
- RestExportAuthTest
- Tests authentication for REST display.
Namespace
Drupal\Tests\rest\Functional\ViewsCode
public function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
$this->drupalLogin($this->drupalCreateUser([
'administer views',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.