protected function UniqueFieldAjaxBase::setUp in Unique field ajax 2.x
Perform initial setup tasks that run before every test method.
Throws
\Drupal\Core\Entity\EntityStorageException
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ UniqueFieldAjaxBase.php, line 121
Class
- UniqueFieldAjaxBase
- The base testing class for unique_field_ajax.
Namespace
Drupal\Tests\unique_field_ajax\FunctionalCode
protected function setUp() {
parent::setUp();
$user = $this
->drupalCreateUser([], NULL, TRUE);
$this
->drupalLogin($user);
$this
->createCustomContentType();
}