diff core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 7a779792577d
children
line wrap: on
line diff
--- a/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php	Mon Apr 23 09:46:53 2018 +0100
@@ -94,6 +94,8 @@
 
     // The base handler settings should be displayed.
     $entity_type_id = 'node';
+    // Check that the type label is correctly displayed.
+    $this->assertText('Content type');
     $bundles = $this->container->get('entity_type.bundle.info')->getBundleInfo($entity_type_id);
     foreach ($bundles as $bundle_name => $bundle_info) {
       $this->assertFieldByName('settings[handler_settings][target_bundles][' . $bundle_name . ']');