Commit a6c29cb6 authored by alexpott's avatar alexpott
Browse files

Issue #2406377 by benjy: Remove unnecessary $field_storage->status assertions from MigrateFieldTest

parent b1f378f5
......@@ -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');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment