From a6c29cb6463b01ec890dc21ffb7ac23980e7eec6 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 13 Jan 2015 13:23:12 +0000 Subject: [PATCH] Issue #2406377 by benjy: Remove unnecessary $field_storage->status assertions from MigrateFieldTest --- core/modules/migrate_drupal/src/Tests/d6/MigrateFieldTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/modules/migrate_drupal/src/Tests/d6/MigrateFieldTest.php b/core/modules/migrate_drupal/src/Tests/d6/MigrateFieldTest.php index bc7245b8b2..d2ca2ad39b 100644 --- a/core/modules/migrate_drupal/src/Tests/d6/MigrateFieldTest.php +++ b/core/modules/migrate_drupal/src/Tests/d6/MigrateFieldTest.php @@ -53,7 +53,6 @@ public function testFields() { $field_storage = FieldStorageConfig::load('node.field_test'); $expected = array('max_length' => 255); $this->assertEqual($field_storage->type, "text", t('Field type is @fieldtype. It should be text.', array('@fieldtype' => $field_storage->type))); - $this->assertEqual($field_storage->status(), TRUE, "Status is TRUE"); $this->assertEqual($field_storage->settings, $expected, "Field type text settings are correct"); // Integer field. @@ -87,7 +86,6 @@ public function testFields() { // Date field. $field_storage = FieldStorageConfig::load('node.field_test_datetime'); $this->assertEqual($field_storage->type, "datetime", t('Field type is @fieldtype. It should be datetime.', array('@fieldtype' => $field_storage->type))); - $this->assertEqual($field_storage->status(), TRUE); // Decimal field with radio buttons. $field_storage = FieldStorageConfig::load('node.field_test_decimal_radio_buttons'); -- GitLab