Loading core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php +4 −9 Original line number Diff line number Diff line Loading @@ -26,14 +26,6 @@ class ClaroTest extends BrowserTestBase { */ protected static $modules = ['dblog', 'shortcut', 'pager_test']; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ Loading @@ -55,7 +47,10 @@ public function testRegressionMissingElementsCss() { * Tests Claro's configuration schema. */ public function testConfigSchema() { $this->drupalLogin($this->rootUser); $permissions = [ 'administer modules', ]; $this->drupalLogin($this->drupalCreateUser($permissions)); $this->drupalGet('admin/modules'); $this->assertSession()->elementNotExists('css', '#block-claro-help'); Loading core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php +5 −9 Original line number Diff line number Diff line Loading @@ -27,21 +27,17 @@ class RouteProviderTest extends KernelTestBase { */ protected static $modules = ['entity_test', 'user', 'system']; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ protected function setUp(): void { parent::setUp(); $this->setUpCurrentUser(['uid' => 1]); $permissions = [ 'administer entity_test content', 'view test entity', ]; $this->setUpCurrentUser(['uid' => 2], $permissions); $this->installEntitySchema('entity_test_mul'); $this->installEntitySchema('entity_test_admin_routes'); Loading core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php +2 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ /** * Tests the caching of render items via functional tests. * * @todo Remove or updated in https://www.drupal.org/project/drupal/issues/3436395. * * @group Render */ class RenderCacheTest extends KernelTestBase { Loading Loading
core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php +4 −9 Original line number Diff line number Diff line Loading @@ -26,14 +26,6 @@ class ClaroTest extends BrowserTestBase { */ protected static $modules = ['dblog', 'shortcut', 'pager_test']; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ Loading @@ -55,7 +47,10 @@ public function testRegressionMissingElementsCss() { * Tests Claro's configuration schema. */ public function testConfigSchema() { $this->drupalLogin($this->rootUser); $permissions = [ 'administer modules', ]; $this->drupalLogin($this->drupalCreateUser($permissions)); $this->drupalGet('admin/modules'); $this->assertSession()->elementNotExists('css', '#block-claro-help'); Loading
core/tests/Drupal/KernelTests/Core/Entity/RouteProviderTest.php +5 −9 Original line number Diff line number Diff line Loading @@ -27,21 +27,17 @@ class RouteProviderTest extends KernelTestBase { */ protected static $modules = ['entity_test', 'user', 'system']; /** * {@inheritdoc} * * @todo Remove and fix test to not rely on super user. * @see https://www.drupal.org/project/drupal/issues/3437620 */ protected bool $usesSuperUserAccessPolicy = TRUE; /** * {@inheritdoc} */ protected function setUp(): void { parent::setUp(); $this->setUpCurrentUser(['uid' => 1]); $permissions = [ 'administer entity_test content', 'view test entity', ]; $this->setUpCurrentUser(['uid' => 2], $permissions); $this->installEntitySchema('entity_test_mul'); $this->installEntitySchema('entity_test_admin_routes'); Loading
core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php +2 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ /** * Tests the caching of render items via functional tests. * * @todo Remove or updated in https://www.drupal.org/project/drupal/issues/3436395. * * @group Render */ class RenderCacheTest extends KernelTestBase { Loading