From b64011be8b94bdf96d58e3917fcfc5848c911a5d Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Thu, 16 Feb 2023 09:12:51 +0000
Subject: [PATCH] Issue #3175401 by pameeela, ranjith_kumar_k_u, hgoto: Update
 testLimitValidationErrors() to testValidationErrorMessagesSortedWithWeight()

---
 .../KernelTests/Core/Form/FormValidationMessageOrderTest.php    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php b/core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php
index 1b5438478e5c..a421b8c5e659 100644
--- a/core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php
@@ -75,7 +75,7 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
   /**
    * Tests that fields validation messages are sorted in the fields order.
    */
-  public function testLimitValidationErrors() {
+  public function testValidationErrorMessagesSortedWithWeight() {
     $form_state = new FormState();
     $form_builder = $this->container->get('form_builder');
     $form_builder->submitForm($this, $form_state);
-- 
GitLab