diff --git a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php index 5e362f1..14c85d1 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php @@ -56,6 +56,9 @@ /** * Indicates that headers should be dumped if verbose output is enabled. * + * Headers are dumped to verbose by drupalGet(), drupalHead(), and + * drupalPost(). + * * @var bool */ protected $dumpHeaders = FALSE; @@ -1386,10 +1389,16 @@ protected function drupalPost($path, $edit, $submit, array $options = array(), a if ($new = $this->checkForMetaRefresh()) { $out = $new; } - $this->verbose('POST request to: ' . $path . - '
' . check_plain(var_export(array_map('trim', $this->headers), TRUE)) . ''; + } + $verbose .= '