Chris@0: $node_type, Chris@0: 'label' => $this->randomString(), Chris@0: ])->save(); Chris@0: Chris@0: CommentType::create([ Chris@0: 'id' => $comment_type, Chris@0: 'label' => $this->randomString(), Chris@0: 'target_entity_type_id' => 'node', Chris@0: ])->save(); Chris@0: } Chris@0: Chris@0: }