const USER_EMAIL_DOMAIN = '@example.com';
const TEST_EMAIL_DOMAIN = 'simpletest@example.com';
/**
* {@inheritdoc}
*/
public function setUp(): void
{ parent::
setUp();
$auth =
isset(static::
$auth) ?
[static::
$auth] :
[];
$this->
provisionResource([static::
$format],
$auth);
$this->
setUpAuthorization('POST'
);
} /**
* Tests that only anonymous users can register users.
*/
public function testRegisterUser() { $config =
$this->
config('user.settings'
);
// Test out different setting User Registration and Email Verification.