Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / src / Tests / Entity / EntityWithUriCacheTagsTestBase.php
index 74c110380696edc8fd8870abd3219c851f793e6a..997a4d28f6f1fe083d08ac00cf197f5764367444 100644 (file)
@@ -34,7 +34,6 @@ abstract class EntityWithUriCacheTagsTestBase extends EntityCacheTagsTestBase {
     $view_cache_tag = \Drupal::entityManager()->getViewBuilder($entity_type)->getCacheTags();
     $render_cache_tag = 'rendered';
 
-
     $this->pass("Test entity.", 'Debug');
     $this->verifyPageCache($entity_url, 'MISS');
 
@@ -65,7 +64,6 @@ abstract class EntityWithUriCacheTagsTestBase extends EntityCacheTagsTestBase {
     // Verify a cache hit.
     $this->verifyPageCache($entity_url, 'HIT');
 
-
     // Verify that after modifying the entity's display, there is a cache miss.
     $this->pass("Test modification of entity's '$view_mode' display.", 'Debug');
     $entity_display = entity_get_display($entity_type, $this->entity->bundle(), $view_mode);
@@ -75,7 +73,6 @@ abstract class EntityWithUriCacheTagsTestBase extends EntityCacheTagsTestBase {
     // Verify a cache hit.
     $this->verifyPageCache($entity_url, 'HIT');
 
-
     if ($bundle_entity_type_id = $this->entity->getEntityType()->getBundleEntityType()) {
       // Verify that after modifying the corresponding bundle entity, there is a
       // cache miss.
@@ -90,7 +87,6 @@ abstract class EntityWithUriCacheTagsTestBase extends EntityCacheTagsTestBase {
       $this->verifyPageCache($entity_url, 'HIT');
     }
 
-
     if ($this->entity->getEntityType()->get('field_ui_base_route')) {
       // Verify that after modifying a configurable field on the entity, there
       // is a cache miss.
@@ -115,7 +111,6 @@ abstract class EntityWithUriCacheTagsTestBase extends EntityCacheTagsTestBase {
       $this->verifyPageCache($entity_url, 'HIT');
     }
 
-
     // Verify that after invalidating the entity's cache tag directly, there is
     // a cache miss.
     $this->pass("Test invalidation of entity's cache tag.", 'Debug');
@@ -125,7 +120,6 @@ abstract class EntityWithUriCacheTagsTestBase extends EntityCacheTagsTestBase {
     // Verify a cache hit.
     $this->verifyPageCache($entity_url, 'HIT');
 
-
     // Verify that after invalidating the generic entity type's view cache tag
     // directly, there is a cache miss.
     $this->pass("Test invalidation of entity's 'view' cache tag.", 'Debug');
@@ -135,7 +129,6 @@ abstract class EntityWithUriCacheTagsTestBase extends EntityCacheTagsTestBase {
     // Verify a cache hit.
     $this->verifyPageCache($entity_url, 'HIT');
 
-
     // Verify that after deleting the entity, there is a cache miss.
     $this->pass('Test deletion of entity.', 'Debug');
     $this->entity->delete();