Commit 353dcd93 authored by alexpott's avatar alexpott

Issue #2056761 by janstoeckler: Remove Unused local variable from...

Issue #2056761 by janstoeckler: Remove Unused local variable  from /core/modules/field/lib/Drupal/field/Tests/FieldImportCreateTest.php.
parent 299682ef
......@@ -55,9 +55,7 @@ function testImportCreateDefault() {
// A field with multiple instances.
$field_2 = entity_load('field_entity', $field_id_2);
$this->assertTrue($field_2, 'The second field was created.');
$instance_2a = entity_load('field_instance', $instance_id_2a);
$this->assertTrue($instance->bundle, 'test_bundle', 'The second field instance was created on bundle test_bundle.');
$instance_2b = entity_load('field_instance', $instance_id_2b);
$this->assertTrue($instance->bundle, 'test_bundle_2', 'The second field instance was created on bundle test_bundle_2.');
// Tests field info contains the right data.
......
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