Mercurial > hg > isophonics-drupal-site
diff core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 1fec387a4317 |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php Thu Apr 26 11:26:54 2018 +0100 +++ b/core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php Tue Jul 10 15:07:59 2018 +0100 @@ -375,10 +375,10 @@ // Ensure that the update hooks updated all entity schema. $needs_updates = \Drupal::entityDefinitionUpdateManager()->needsUpdates(); if ($needs_updates) { - foreach (\Drupal::entityDefinitionUpdateManager() - ->getChangeSummary() as $entity_type_id => $summary) { + foreach (\Drupal::entityDefinitionUpdateManager()->getChangeSummary() as $entity_type_id => $summary) { + $entity_type_label = \Drupal::entityTypeManager()->getDefinition($entity_type_id)->getLabel(); foreach ($summary as $message) { - $this->fail($message); + $this->fail("$entity_type_label: $message"); } } // The above calls to `fail()` should prevent this from ever being