function UserTest::doTestDeleteIndividual

Same name in other branches
  1. 11.x core/modules/jsonapi/tests/src/Functional/UserTest.php \Drupal\Tests\jsonapi\Functional\UserTest::doTestDeleteIndividual()

Overrides ResourceTestBase::doTestDeleteIndividual

File

core/modules/jsonapi/tests/src/Functional/UserTest.php, line 131

Class

UserTest
JSON:API integration test for the "User" content entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected function doTestDeleteIndividual() : void {
    $this->config('user.settings')
        ->set('cancel_method', 'user_cancel_delete')
        ->save(TRUE);
    parent::doTestDeleteIndividual();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.