protected function InsertFileTestBase::setUp in Insert 8
Same name and namespace in other branches
- 8.2 tests/src/FunctionalJavaScript/InsertFileTestBase.php \Drupal\Tests\insert\FunctionalJavascript\InsertFileTestBase::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ FunctionalJavaScript/ InsertFileTestBase.php, line 27
Class
Namespace
Drupal\Tests\insert\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
if ($this->profile != 'standard') {
$this
->createContentType([
'type' => 'page',
'name' => 'Basic page',
]);
$this
->createContentType([
'type' => 'article',
'name' => 'Article',
]);
}
$this->adminUser = $this
->createUser([], NULL, TRUE);
$this
->drupalLogin($this->adminUser);
}