LinkitBrowserTestBase.php in Linkit 8.5
File
tests/src/Functional/LinkitBrowserTestBase.php
View source
<?php
namespace Drupal\Tests\linkit\Functional;
use Drupal\Tests\BrowserTestBase;
abstract class LinkitBrowserTestBase extends BrowserTestBase {
public static $modules = [
'linkit',
'linkit_test',
'block',
];
protected $defaultTheme = 'stark';
protected $adminUser;
protected $webUser;
protected function setUp() {
parent::setUp();
$this
->placeBlock('page_title_block');
$this
->placeBlock('local_tasks_block');
$this
->placeBlock('local_actions_block');
$this
->placeBlock('system_messages_block');
$this->adminUser = $this
->drupalCreateUser([
'administer linkit profiles',
]);
$this->webUser = $this
->drupalCreateUser();
}
}