diff --git a/core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php b/core/tests/Drupal/KernelTests/Core/Form/FormValidationMessageOrderTest.php index 1b5438478e5cc4cbc06f6ec667c3f765efea0b67..a421b8c5e659dd57da3cc63a4ab26516f996b221 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);