Loading core/modules/book/tests/src/Functional/BookBreadcrumbTest.php +0 −12 Original line number Diff line number Diff line Loading @@ -59,18 +59,6 @@ protected function setUp(): void { 'edit own book content', 'add content to books', ]); $this->adminUser = $this->drupalCreateUser([ 'create new books', 'create book content', 'edit any book content', 'delete any book content', 'add content to books', 'administer blocks', 'administer permissions', 'administer book outlines', 'administer content types', 'administer site configuration', ]); } /** Loading core/modules/ckeditor/tests/src/Functional/CKEditorToolbarButtonTest.php +9 −2 Original line number Diff line number Diff line Loading @@ -26,6 +26,13 @@ class CKEditorToolbarButtonTest extends BrowserTestBase { */ protected $defaultTheme = 'stark'; /** * The admin user. * * @var \Drupal\user\Entity\User */ protected $adminUser; /** * {@inheritdoc} */ Loading @@ -45,7 +52,7 @@ protected function setUp(): void { ])->save(); // Create a new user with admin rights. $this->admin_user = $this->drupalCreateUser([ $this->adminUser = $this->drupalCreateUser([ 'administer languages', 'access administration pages', 'administer site configuration', Loading @@ -57,7 +64,7 @@ protected function setUp(): void { * Method tests CKEditor image buttons. */ public function testImageButtonDisplay() { $this->drupalLogin($this->admin_user); $this->drupalLogin($this->adminUser); // Install the Arabic language (which is RTL) and configure as the default. $edit = []; Loading core/modules/ckeditor5/tests/src/Functional/AddedStylesheetsTest.php +14 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,20 @@ class AddedStylesheetsTest extends BrowserTestBase { */ protected $defaultTheme = 'stark'; /** * The editor user. * * @var \Drupal\editor\Entity\Editor */ protected $editor; /** * The admin user. * * @var \Drupal\user\Entity\User */ protected $adminUser; /** * {@inheritdoc} */ Loading core/modules/ckeditor5/tests/src/Functional/CKEditor5QuickEditLibraryTest.php +7 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,13 @@ class CKEditor5QuickEditLibraryTest extends BrowserTestBase { */ protected $defaultTheme = 'stark'; /** * The admin user. * * @var \Drupal\user\Entity\User */ protected $adminUser; /** * {@inheritdoc} */ Loading core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php +7 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,13 @@ class MediaEntityMetadataApiTest extends BrowserTestBase { */ protected $editor; /** * The admin user. * * @var \Drupal\user\Entity\User */ protected $adminUser; /** * @var \Drupal\Component\Uuid\UuidInterface */ Loading Loading
core/modules/book/tests/src/Functional/BookBreadcrumbTest.php +0 −12 Original line number Diff line number Diff line Loading @@ -59,18 +59,6 @@ protected function setUp(): void { 'edit own book content', 'add content to books', ]); $this->adminUser = $this->drupalCreateUser([ 'create new books', 'create book content', 'edit any book content', 'delete any book content', 'add content to books', 'administer blocks', 'administer permissions', 'administer book outlines', 'administer content types', 'administer site configuration', ]); } /** Loading
core/modules/ckeditor/tests/src/Functional/CKEditorToolbarButtonTest.php +9 −2 Original line number Diff line number Diff line Loading @@ -26,6 +26,13 @@ class CKEditorToolbarButtonTest extends BrowserTestBase { */ protected $defaultTheme = 'stark'; /** * The admin user. * * @var \Drupal\user\Entity\User */ protected $adminUser; /** * {@inheritdoc} */ Loading @@ -45,7 +52,7 @@ protected function setUp(): void { ])->save(); // Create a new user with admin rights. $this->admin_user = $this->drupalCreateUser([ $this->adminUser = $this->drupalCreateUser([ 'administer languages', 'access administration pages', 'administer site configuration', Loading @@ -57,7 +64,7 @@ protected function setUp(): void { * Method tests CKEditor image buttons. */ public function testImageButtonDisplay() { $this->drupalLogin($this->admin_user); $this->drupalLogin($this->adminUser); // Install the Arabic language (which is RTL) and configure as the default. $edit = []; Loading
core/modules/ckeditor5/tests/src/Functional/AddedStylesheetsTest.php +14 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,20 @@ class AddedStylesheetsTest extends BrowserTestBase { */ protected $defaultTheme = 'stark'; /** * The editor user. * * @var \Drupal\editor\Entity\Editor */ protected $editor; /** * The admin user. * * @var \Drupal\user\Entity\User */ protected $adminUser; /** * {@inheritdoc} */ Loading
core/modules/ckeditor5/tests/src/Functional/CKEditor5QuickEditLibraryTest.php +7 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,13 @@ class CKEditor5QuickEditLibraryTest extends BrowserTestBase { */ protected $defaultTheme = 'stark'; /** * The admin user. * * @var \Drupal\user\Entity\User */ protected $adminUser; /** * {@inheritdoc} */ Loading
core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php +7 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,13 @@ class MediaEntityMetadataApiTest extends BrowserTestBase { */ protected $editor; /** * The admin user. * * @var \Drupal\user\Entity\User */ protected $adminUser; /** * @var \Drupal\Component\Uuid\UuidInterface */ Loading