Mercurial > hg > isophonics-drupal-site
comparison core/modules/field_ui/src/Tests/ManageFieldsTest.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 | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
748 | 748 |
749 $form_display = entity_get_form_display('node', 'article', 'default'); | 749 $form_display = entity_get_form_display('node', 'article', 'default'); |
750 $this->assertEqual($form_display->getComponent('field_test_custom_options')['type'], 'test_field_widget_multiple'); | 750 $this->assertEqual($form_display->getComponent('field_test_custom_options')['type'], 'test_field_widget_multiple'); |
751 $view_display = entity_get_display('node', 'article', 'default'); | 751 $view_display = entity_get_display('node', 'article', 'default'); |
752 $this->assertEqual($view_display->getComponent('field_test_custom_options')['type'], 'field_test_multiple'); | 752 $this->assertEqual($view_display->getComponent('field_test_custom_options')['type'], 'field_test_multiple'); |
753 $this->assertEqual($view_display->getComponent('field_test_custom_options')['settings']['test_formatter_setting_multiple'], 'altered dummy test string'); | |
753 } | 754 } |
754 | 755 |
755 /** | 756 /** |
756 * Tests the access to non-existent field URLs. | 757 * Tests the access to non-existent field URLs. |
757 */ | 758 */ |