diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeActionsTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeActionsTest.php index 1e0911e..586f3d9 100644 --- a/core/modules/node/lib/Drupal/node/Tests/NodeActionsTest.php +++ b/core/modules/node/lib/Drupal/node/Tests/NodeActionsTest.php @@ -49,7 +49,7 @@ function testNodeUnpublishByKeyword() { $keyword_1 = $this->randomName(); $keyword_2 = $this->randomName(); - + $action = entity_create('action', array( 'id' => 'node_unpublish_by_keyword_action', 'label' => $this->randomName(), @@ -61,7 +61,9 @@ function testNodeUnpublishByKeyword() { )); $action->save(); - $node = $this->drupalCreateNode(array('body' => array(array('format' => filter_default_format(), 'value' => $keyword_1)))); + $node = $this->drupalCreateNode(array( + 'body' => array(array('format' => filter_default_format(), 'value' => $keyword_1)) + )); $node = node_load($node->id()); $this->assertTrue($node->status->value == NODE_PUBLISHED, 'The node status was set to published.');