update
This commit is contained in:
@@ -105,9 +105,23 @@ class EditorLoadingTest extends BrowserTestBase {
|
||||
->save();
|
||||
|
||||
// Create 3 users, each with access to different text formats.
|
||||
$this->untrustedUser = $this->drupalCreateUser(['create article content', 'edit any article content']);
|
||||
$this->normalUser = $this->drupalCreateUser(['create article content', 'edit any article content', 'use text format filtered_html']);
|
||||
$this->privilegedUser = $this->drupalCreateUser(['create article content', 'edit any article content', 'create page content', 'edit any page content', 'use text format filtered_html', 'use text format full_html']);
|
||||
$this->untrustedUser = $this->drupalCreateUser([
|
||||
'create article content',
|
||||
'edit any article content',
|
||||
]);
|
||||
$this->normalUser = $this->drupalCreateUser([
|
||||
'create article content',
|
||||
'edit any article content',
|
||||
'use text format filtered_html',
|
||||
]);
|
||||
$this->privilegedUser = $this->drupalCreateUser([
|
||||
'create article content',
|
||||
'edit any article content',
|
||||
'create page content',
|
||||
'edit any page content',
|
||||
'use text format filtered_html',
|
||||
'use text format full_html',
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -66,7 +66,10 @@ class EditorUploadImageScaleTest extends BrowserTestBase {
|
||||
])->save();
|
||||
|
||||
// Create admin user.
|
||||
$this->adminUser = $this->drupalCreateUser(['administer filters', 'use text format basic_html']);
|
||||
$this->adminUser = $this->drupalCreateUser([
|
||||
'administer filters',
|
||||
'use text format basic_html',
|
||||
]);
|
||||
$this->drupalLogin($this->adminUser);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user