update
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -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.
|
||||
*/
|
||||
|
||||
+1
@@ -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');
|
||||
|
||||
+5
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user