From 39c69cbe5434598ffff4335a6cc3f7493a050dc1 Mon Sep 17 00:00:00 2001
From: xjm <xjm@65776.no-reply.drupal.org>
Date: Thu, 28 May 2020 19:53:53 -0500
Subject: [PATCH] Issue #3138786 by sja112, mohrerao: Fix "Protected" relevant
 typos in core

(cherry picked from commit 8acabfb7e714c815453c487aa0013da555a53f7a)
---
 .../src/Functional/EntityResource/EntityResourceTestBase.php    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
index 95578ec103a0..5dc284baafaf 100644
--- a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
+++ b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
@@ -1413,7 +1413,7 @@ protected function assertPatchProtectedFieldNamesStructure() {
     };
     $keys_are_field_names = Inspector::assertAllStrings(array_keys(static::$patchProtectedFieldNames));
     $values_are_expected_access_denied_reasons = Inspector::assertAll($is_null_or_string, static::$patchProtectedFieldNames);
-    $this->assertTrue($keys_are_field_names && $values_are_expected_access_denied_reasons, 'In Drupal 8.6, the structure of $patchProtectectedFieldNames changed. It used to be an array with field names as values. Now those values are the keys, and their values should be either NULL or a string: a string containing the reason for why the field cannot be PATCHed, or NULL otherwise.');
+    $this->assertTrue($keys_are_field_names && $values_are_expected_access_denied_reasons, 'In Drupal 8.6, the structure of $patchProtectedFieldNames changed. It used to be an array with field names as values. Now those values are the keys, and their values should be either NULL or a string: a string containing the reason for why the field cannot be PATCHed, or NULL otherwise.');
   }
 
   /**
-- 
GitLab