Issue #2182315 by joachim: Simpletest verbose output doesn't show end result of a drupalPostAjaxForm().

8.0.x
Nathaniel Catchpole 2014-02-11 11:21:26 +00:00
parent 906c637f17
commit 9c4ed90551
1 changed files with 7 additions and 0 deletions

View File

@ -1705,6 +1705,13 @@ abstract class WebTestBase extends TestBase {
$this->drupalProcessAjaxResponse($content, $return, $ajax_settings, $drupal_settings);
}
$verbose = 'AJAX POST request to: ' . $path;
$verbose .= '<br />AJAX controller path: ' . $ajax_path;
$verbose .= '<hr />Ending URL: ' . $this->getUrl();
$verbose .= '<hr />' . $this->content;
$this->verbose($verbose);
return $return;
}