public function RestRegisterUserTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/tests/src/Functional/RestRegisterUserTest.php \Drupal\Tests\user\Functional\RestRegisterUserTest::setUp()
Overrides ResourceTestBase::setUp
File
- core/
modules/ user/ tests/ src/ Functional/ RestRegisterUserTest.php, line 62
Class
- RestRegisterUserTest
- Tests user registration via REST resource.
Namespace
Drupal\Tests\user\FunctionalCode
public function setUp() {
parent::setUp();
$auth = isset(static::$auth) ? [
static::$auth,
] : [];
$this
->provisionResource([
static::$format,
], $auth);
$this
->setUpAuthorization('POST');
}