'access administration pages',
'administer content types',
]);
$this->
drupalLogin($user);
$this->
drupalGet(''
);
$this->
assertSession()->
pageTextContains('Tools'
);
$this->
assertSession()->
pageTextContains('Administration'
);
// Ensure that there are no pending updates after installation.
$this->
drupalLogin($this->rootUser
);
$this->
drupalGet('update.php/selection'
);
$this->
updateRequirementsProblem();
$this->
drupalGet('update.php/selection'
);
$this->
assertSession()->
pageTextContains('No pending updates.'
);
// Ensure that there are no pending entity updates after installation.
$this->
assertFalse($this->container->
get('entity.definition_update_manager'
)->
needsUpdates(), 'After installation, entity schema is up to date.'
);
// Ensure special configuration overrides are correct.
$this->
assertFalse($this->
config('system.theme.global'
)->
get('features.node_user_picture'
), 'Configuration system.theme.global:features.node_user_picture is FALSE.'
);
$this->
assertEquals(UserInterface::REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL,
$this->
config('user.settings'
)->
get('register'
));
}}