Changes for core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -318,7 +318,7 @@ public function testLabelValidation(): void {
}
static::setLabel($this->entity,"Multi\nLine");
$this->assertValidationErrors([$this->entity->getEntityType()->getKey('label')=>"Labels are not allowed to span multiple lines."]);
$this->assertValidationErrors([$this->entity->getEntityType()->getKey('label')=>"Labels are not allowed to span multiple lines or contain control characters."]);