From f9f69fd480106688475f2da6eae24341f8a618d7 Mon Sep 17 00:00:00 2001 From: Pieter Frenssen Date: Wed, 12 Apr 2017 14:01:35 +0300 Subject: [PATCH] Do not assume nodes of all types have 'body' fields. (#365) --- src/Drupal/DrupalExtension/Context/DrupalContext.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Drupal/DrupalExtension/Context/DrupalContext.php b/src/Drupal/DrupalExtension/Context/DrupalContext.php index 3136e237..3583377a 100644 --- a/src/Drupal/DrupalExtension/Context/DrupalContext.php +++ b/src/Drupal/DrupalExtension/Context/DrupalContext.php @@ -232,7 +232,6 @@ public function createNode($type, $title) { $node = (object) array( 'title' => $title, 'type' => $type, - 'body' => $this->getRandom()->name(255), ); $saved = $this->nodeCreate($node); // Set internal page on the new node.