protected function UserCancelTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/tests/src/Functional/UserCancelTest.php \Drupal\Tests\user\Functional\UserCancelTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ user/ tests/ src/ Functional/ UserCancelTest.php, line 33
Class
- UserCancelTest
- Ensure that account cancellation methods work as expected.
Namespace
Drupal\Tests\user\FunctionalCode
protected function setUp() {
parent::setUp();
$this
->drupalCreateContentType([
'type' => 'page',
'name' => 'Basic page',
]);
}