This commit is contained in:
2020-07-13 17:09:59 +02:00
parent 03559a7b76
commit 3a082e23cc
492 changed files with 4129 additions and 982 deletions
@@ -46,7 +46,9 @@ class DeleteMultipleFormTest extends BrowserTestBase {
'id' => 'default',
'label' => 'Default',
])->save();
$this->account = $this->drupalCreateUser(['administer entity_test content']);
$this->account = $this->drupalCreateUser([
'administer entity_test content',
]);
$this->drupalLogin($this->account);
}
@@ -128,6 +128,7 @@ class DistributionProfileTranslationQueryTest extends InstallerTestBase {
*
* @param string $langcode
* The language code.
*
* @return string
* Contents for the test .po file.
*/
@@ -119,6 +119,7 @@ class DistributionProfileTranslationTest extends InstallerTestBase {
*
* @param string $langcode
* The language code.
*
* @return string
* Contents for the test .po file.
*/
@@ -38,6 +38,7 @@ class InstallerTranslationMultipleLanguageTest extends InstallerTestBase {
*
* @param string $langcode
* The language code.
*
* @return string
* Contents for the test .po file.
*/
@@ -72,6 +72,7 @@ class InstallerTranslationQueryTest extends InstallerTestBase {
*
* @param string $langcode
* The language code.
*
* @return string
* Contents for the test .po file.
*/
@@ -134,6 +134,7 @@ class InstallerTranslationTest extends InstallerTestBase {
*
* @param string $langcode
* The language code.
*
* @return string
* Contents for the test .po file.
*/
@@ -43,7 +43,11 @@ class CaseInsensitivePathTest extends BrowserTestBase {
$this->assertSession()->pageTextMatches('/Log in/');
// Tests paths defined by routes from the Views module.
$admin = $this->drupalCreateUser(['access administration pages', 'administer nodes', 'access content overview']);
$admin = $this->drupalCreateUser([
'access administration pages',
'administer nodes',
'access content overview',
]);
$this->drupalLogin($admin);
$this->drupalGet('admin/content');
@@ -39,7 +39,11 @@ class RouteCachingNonPathLanguageNegotiationTest extends BrowserTestBase {
parent::setUp();
// Create and log in user.
$this->adminUser = $this->drupalCreateUser(['administer blocks', 'administer languages', 'access administration pages']);
$this->adminUser = $this->drupalCreateUser([
'administer blocks',
'administer languages',
'access administration pages',
]);
$this->drupalLogin($this->adminUser);
// Add language.