diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockFieldTest.php b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockFieldTest.php index a35d822..ce3f34a 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockFieldTest.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockFieldTest.php @@ -83,12 +83,10 @@ public function testBlockFields() { 'label' => 'hidden', ); field_create_instance($this->instance); - entity_get_display('custom_block', 'link', 'full') + entity_get_display('custom_block', 'link', 'default') ->setComponent($this->field['field_name'], $display_options) ->save(); - $langcode = LANGUAGE_NOT_SPECIFIED; - // Create a block. $this->drupalGet('block/add/link'); $edit = array(