protected function SettingsFormTest::setUp in Automated Logout 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ SettingsFormTest.php, line 63
Class
- SettingsFormTest
- Tests the settings form.
Namespace
Drupal\Tests\autologout\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installSchema('user', [
'users_data',
]);
$this
->installSchema('system', [
'sequences',
]);
$this
->installConfig('autologout');
$this->configFactory = $this->container
->get('config.factory');
$this->userData = $this->container
->get('user.data');
$this->privilegedUser = $this
->createUser([
'change own logout threshold',
]);
}