From 6aef5785edfb65a02fa28f0c9758c18fd857a302 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Wed, 12 Mar 2014 11:19:11 -0700 Subject: [PATCH] Issue #2213411 by jhodgdon: WebTestBase::drupalCreateNode() shouldn't imply you can set 'changed' time. --- core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php index 08146973c21e..30a628043a25 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php @@ -237,7 +237,6 @@ function drupalGetNodeByTitle($title, $reset = FALSE) { * @endcode * - title: Random string. * - comment: CommentItemInterface::OPEN. - * - changed: REQUEST_TIME. * - promote: NODE_NOT_PROMOTED. * - log: Empty string. * - status: NODE_PUBLISHED. @@ -256,7 +255,6 @@ protected function drupalCreateNode(array $settings = array()) { $settings += array( 'body' => array(array()), 'title' => $this->randomName(8), - 'changed' => REQUEST_TIME, 'promote' => NODE_NOT_PROMOTED, 'revision' => 1, 'log' => '', -- GitLab