diff --git a/core/modules/field/src/Tests/Migrate/d6/MigrateFieldInstanceTest.php b/core/modules/field/src/Tests/Migrate/d6/MigrateFieldInstanceTest.php index 19f835f..0a55a8a 100644 --- a/core/modules/field/src/Tests/Migrate/d6/MigrateFieldInstanceTest.php +++ b/core/modules/field/src/Tests/Migrate/d6/MigrateFieldInstanceTest.php @@ -79,9 +79,7 @@ public function testFieldInstanceSettings() { 'display_field' => FALSE, 'display_default' => FALSE, 'uri_scheme' => 'public', - // This value should be 'default:file' but the test does not migrate field - // storages so we end up with the default value for this setting. - 'handler' => 'default:node', + 'handler' => 'default', 'handler_settings' => array(), ); $field_settings = $field->getSettings(); diff --git a/core/modules/system/src/Tests/Entity/Element/EntityAutocompleteElementFormTest.php b/core/modules/system/src/Tests/Entity/Element/EntityAutocompleteElementFormTest.php index 6cdef4d..0fdd9af 100644 --- a/core/modules/system/src/Tests/Entity/Element/EntityAutocompleteElementFormTest.php +++ b/core/modules/system/src/Tests/Entity/Element/EntityAutocompleteElementFormTest.php @@ -259,7 +259,7 @@ public function testInvalidEntityAutocompleteElement() { ]); $form_builder->submitForm($this, $form_state); $this->assertEqual(count($form_state->getErrors()), 1); - $this->assertEqual($form_state->getErrors()['single'], t('This entity (%type: %id) cannot be referenced.', array('%type' => 'entity_test', '%id' => 42))); + $this->assertEqual($form_state->getErrors()['single'], t('The referenced entity (%type: %id) does not exist.', array('%type' => 'entity_test', '%id' => 42))); // Do the same tests as above but on an element with '#validate_reference' // set to FALSE.