summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-08-19 17:22:37 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-08-19 17:22:37 -0400
commit731dfacab8bf39918c135bf4939e56a76dc6ab34 (patch)
tree7febc850df6d6f4ebc82073376f4041c300abfb7 /modules/simpletest/drupal_web_test_case.php
parent11cc2b0251d705b5bed981368fee038e5dddb0d1 (diff)
parentbe00a1ced4104d84df2f34b149b35fb0adf91093 (diff)
downloadbrdo-731dfacab8bf39918c135bf4939e56a76dc6ab34.tar.gz
brdo-731dfacab8bf39918c135bf4939e56a76dc6ab34.tar.bz2
Merge tag '7.39' into 7.x
7.39 release Conflicts: CHANGELOG.txt includes/bootstrap.inc
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index fb5c6a6c8..b67c478aa 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -2221,6 +2221,7 @@ class DrupalWebTestCase extends DrupalTestCase {
// Submit the POST request.
$return = drupal_json_decode($this->drupalPost(NULL, $edit, array('path' => $ajax_path, 'triggering_element' => $triggering_element), $options, $headers, $form_html_id, $extra_post));
+ $this->assertIdentical($this->drupalGetHeader('X-Drupal-Ajax-Token'), '1', 'Ajax response header found.');
// Change the page content by applying the returned commands.
if (!empty($ajax_settings) && !empty($return)) {