Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / hal / tests / src / Functional / EntityResource / Comment / CommentHalJsonTestBase.php
index 1939e04364bfa5d33858d5e51f2726b111556044..3deb0eaba50ba14cd9cdf4a28321f2f93d028e0b 100644 (file)
@@ -26,25 +26,6 @@ abstract class CommentHalJsonTestBase extends CommentResourceTestBase {
    */
   protected static $mimeType = 'application/hal+json';
 
-  /**
-   * {@inheritdoc}
-   *
-   * The HAL+JSON format causes different PATCH-protected fields. For some
-   * reason, the 'pid' and 'homepage' fields are NOT PATCH-protected, even
-   * though they are for non-HAL+JSON serializations.
-   *
-   * @todo fix in https://www.drupal.org/node/2824271
-   */
-  protected static $patchProtectedFieldNames = [
-    'status',
-    'created',
-    'changed',
-    'thread',
-    'entity_type',
-    'field_name',
-    'entity_id',
-    'uid',
-  ];
 
   /**
    * {@inheritdoc}