Issue #3055807 by ptmkenny, murilohp, vladimir.krupin, smustgrave,...
Issue #3055807 by ptmkenny, murilohp, vladimir.krupin, smustgrave, ankithashetty, yogeshmpawar, ravi.shankar, rensingh99, vikashsoni, axel80, alexpott: User created via /user/register?_format=json get blocked
@trigger_error('Calling '.__METHOD__.'() without the $password_generator argument is deprecated in drupal:10.3.0 and will be required in drupal:11.0.0. See https://www.drupal.org/node/3405799',E_USER_DEPRECATED);
@@ -129,4 +140,24 @@ public function testRegistrationAnonymousOnlyPost() {
$this->testClass->post($entity->reveal());
}
/**
* Tests the deprecation messages.
*
* @covers ::__construct
*
* @group legacy
*/
publicfunctiontestDeprecations(){
$this->expectDeprecation('Calling Drupal\user\Plugin\rest\resource\UserRegistrationResource::__construct() without the $password_generator argument is deprecated in drupal:10.3.0 and will be required in drupal:11.0.0. See https://www.drupal.org/node/3405799');