You are here

protected function AutoEntityLabelBatchTest::setUp in Automatic Entity Label 8.3

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/AutoEntityLabelBatchTest.php, line 66

Class

AutoEntityLabelBatchTest
Tests batch operations on re-save.

Namespace

Drupal\Tests\auto_entitylabel\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $this->user = $this
    ->drupalCreateUser([], '', TRUE);
  $this
    ->drupalLogin($this->user);
  $this->nodeType = $this
    ->createContentType([
    'type' => 'page',
  ]);
  $this->configFactory = $this->container
    ->get('config.factory');
  $this->nodeStorage = $this->container
    ->get('entity_type.manager')
    ->getStorage('node');
}