Loading core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php +0 −3 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ final class AnnouncementsCacheTest extends BrowserTestBase { 'announcements_feed', 'dynamic_page_cache', 'node', 'toolbar', ]; /** Loading @@ -38,14 +37,12 @@ public function testDynamicPageCache(): void { $node_type = $this->drupalCreateContentType(); $node = $this->drupalCreateNode(['type' => $node_type->id()]); $this->drupalLogin($this->drupalCreateUser([ 'access toolbar', 'access announcements', ])); $this->drupalGet($node->toUrl()); $this->assertSession()->responseHeaderEquals(DynamicPageCacheSubscriber::HEADER, 'MISS'); // Reload the page, it should be cached now. $this->drupalGet($node->toUrl()); $this->assertSession()->elementExists('css', '[data-drupal-announce-trigger]'); $this->assertSession()->responseHeaderEquals(DynamicPageCacheSubscriber::HEADER, 'HIT'); } Loading core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php +0 −9 Original line number Diff line number Diff line Loading @@ -21,13 +21,6 @@ class AnnounceFetcherUserTest extends AnnounceTestBase { use UserCreationTrait; /** * {@inheritdoc} */ protected static $modules = [ 'toolbar', ]; /** * Version constraint. */ Loading @@ -42,7 +35,6 @@ protected function setUp(): void { // Setting current user. $permissions = [ 'access toolbar', 'access announcements', ]; $this->setUpCurrentUser(['uid' => 1], $permissions); Loading Loading @@ -74,7 +66,6 @@ public function testAllAnnouncementsFirst(): void { // Create another user and test again. $permissions = [ 'access toolbar', 'access announcements', ]; $this->setUpCurrentUser(['uid' => 2], $permissions); Loading core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ class ConfigTranslationListUiTest extends BrowserTestBase { 'taxonomy', 'image', 'responsive_image', 'toolbar', ]; /** Loading core/modules/shortcut/tests/src/Functional/ConfigTranslationListUiTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ class ConfigTranslationListUiTest extends BrowserTestBase { 'block', 'config_translation', 'shortcut', 'toolbar', ]; /** Loading core/modules/shortcut/tests/src/Kernel/ShortcutCacheTagsTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ class ShortcutCacheTagsTest extends KernelTestBase { protected static $modules = [ 'system', 'user', 'toolbar', 'shortcut', 'link', ]; Loading Loading
core/modules/announcements_feed/tests/src/Functional/AnnouncementsCacheTest.php +0 −3 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ final class AnnouncementsCacheTest extends BrowserTestBase { 'announcements_feed', 'dynamic_page_cache', 'node', 'toolbar', ]; /** Loading @@ -38,14 +37,12 @@ public function testDynamicPageCache(): void { $node_type = $this->drupalCreateContentType(); $node = $this->drupalCreateNode(['type' => $node_type->id()]); $this->drupalLogin($this->drupalCreateUser([ 'access toolbar', 'access announcements', ])); $this->drupalGet($node->toUrl()); $this->assertSession()->responseHeaderEquals(DynamicPageCacheSubscriber::HEADER, 'MISS'); // Reload the page, it should be cached now. $this->drupalGet($node->toUrl()); $this->assertSession()->elementExists('css', '[data-drupal-announce-trigger]'); $this->assertSession()->responseHeaderEquals(DynamicPageCacheSubscriber::HEADER, 'HIT'); } Loading
core/modules/announcements_feed/tests/src/Kernel/AnnounceFetcherUserTest.php +0 −9 Original line number Diff line number Diff line Loading @@ -21,13 +21,6 @@ class AnnounceFetcherUserTest extends AnnounceTestBase { use UserCreationTrait; /** * {@inheritdoc} */ protected static $modules = [ 'toolbar', ]; /** * Version constraint. */ Loading @@ -42,7 +35,6 @@ protected function setUp(): void { // Setting current user. $permissions = [ 'access toolbar', 'access announcements', ]; $this->setUpCurrentUser(['uid' => 1], $permissions); Loading Loading @@ -74,7 +66,6 @@ public function testAllAnnouncementsFirst(): void { // Create another user and test again. $permissions = [ 'access toolbar', 'access announcements', ]; $this->setUpCurrentUser(['uid' => 2], $permissions); Loading
core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ class ConfigTranslationListUiTest extends BrowserTestBase { 'taxonomy', 'image', 'responsive_image', 'toolbar', ]; /** Loading
core/modules/shortcut/tests/src/Functional/ConfigTranslationListUiTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ class ConfigTranslationListUiTest extends BrowserTestBase { 'block', 'config_translation', 'shortcut', 'toolbar', ]; /** Loading
core/modules/shortcut/tests/src/Kernel/ShortcutCacheTagsTest.php +0 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ class ShortcutCacheTagsTest extends KernelTestBase { protected static $modules = [ 'system', 'user', 'toolbar', 'shortcut', 'link', ]; Loading