diff --git a/core/modules/views/src/Tests/Handler/FieldGroupRowsTest.php b/core/modules/views/src/Tests/Handler/FieldGroupRowsTest.php index 9aedee2..bcccbdc 100644 --- a/core/modules/views/src/Tests/Handler/FieldGroupRowsTest.php +++ b/core/modules/views/src/Tests/Handler/FieldGroupRowsTest.php @@ -58,7 +58,7 @@ protected function setUp() { // Create an instance of the text field on the content type. $field = array( 'field_storage' => $field_storage, - 'bundle' => $node_type->type, + 'bundle' => $node_type->id(), ); entity_create('field_config', $field)->save();