diff options
author | David Rothstein <drothstein@gmail.com> | 2014-05-05 17:25:10 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2014-05-05 17:25:10 -0400 |
commit | e25cbd60fcba5a14778af4ffeb6515d5624eb0ac (patch) | |
tree | 28f4b28749d71fe571f0e43dd7329d4d70e4cc50 /modules/simpletest | |
parent | dd8e45aef1e498daad70823a06a73423d0341ad8 (diff) | |
download | brdo-e25cbd60fcba5a14778af4ffeb6515d5624eb0ac.tar.gz brdo-e25cbd60fcba5a14778af4ffeb6515d5624eb0ac.tar.bz2 |
Issue #2182315 by joachim: Simpletest verbose output doesn't show end result of a drupalPostAjaxForm().
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 812dc5e04..414a3778d 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -2294,6 +2294,14 @@ class DrupalWebTestCase extends DrupalTestCase { } $this->drupalSetContent($content); $this->drupalSetSettings($drupal_settings); + + $verbose = 'AJAX POST request to: ' . $path; + $verbose .= '<br />AJAX callback path: ' . $ajax_path; + $verbose .= '<hr />Ending URL: ' . $this->getUrl(); + $verbose .= '<hr />' . $this->content; + + $this->verbose($verbose); + return $return; } |