reverted: --- b/core/modules/entity_reference/src/Tests/EntityReferenceAdminTest.php +++ a/core/modules/entity_reference/src/Tests/EntityReferenceAdminTest.php @@ -286,7 +286,7 @@ // Assert the results multiple times to avoid sorting problem of nodes with // the same title. + $this->assertText(t('1 error has been found: Test Entity Reference Field')); - $this->assertText(t('1 error has been found: Test Entity Reference Field')); $this->assertText(t('Multiple entities match this reference;')); $this->assertText(t("@node1", ['@node1' => $node1->getTitle() . ' (' . $node1->id() . ')'])); $this->assertText(t("@node2", ['@node2' => $node2->getTitle() . ' (' . $node2->id() . ')']));