Skip to content
Snippets Groups Projects
Commit ab8bce70 authored by catch's avatar catch
Browse files

Issue #3165763 by quietone, mikelutz: Combine two tests to one in d7...

Issue #3165763 by quietone, mikelutz: Combine two tests to one in d7 MigrateFieldTest and MigrateFieldInstance

(cherry picked from commit 98575f9f)
parent efae4a62
No related branches found
No related tags found
No related merge requests found
......@@ -167,12 +167,8 @@ public function testFieldInstances() {
$this->assertEntity('node.article.field_vocab_fixed', 'vocab_fixed', 'entity_reference', FALSE, TRUE);
$this->assertEntity('node.article.field_vocab_localize', 'vocab_localize', 'entity_reference', FALSE, FALSE);
$this->assertEntity('node.article.field_vocab_translate', 'vocab_translate', 'entity_reference', FALSE, TRUE);
}
/**
* Tests the migration of text field instances with different text processing.
*/
public function testTextFieldInstances() {
// Test migration of text field instances with different text processing.
// All text and text_long field instances using a field base that has only
// plain text instances should be migrated to string and string_long fields.
// All text_with_summary field instances using a field base that has only
......
......@@ -142,12 +142,8 @@ public function testFields() {
// have a datetime_type setting.
$field = FieldStorageConfig::load('node.field_date_with_end_time');
$this->assertNull($field->getSetting('datetime_type'));
}
/**
* Tests the migration of text fields with different text processing.
*/
public function testTextFields() {
// Test the migration of text fields with different text processing.
// All text and text_long field bases that have only plain text instances
// should be migrated to string and string_long fields.
// All text_with_summary field bases that have only plain text instances
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment