diff options
author | David Rothstein <drothstein@gmail.com> | 2015-08-19 17:22:37 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-08-19 17:22:37 -0400 |
commit | 731dfacab8bf39918c135bf4939e56a76dc6ab34 (patch) | |
tree | 7febc850df6d6f4ebc82073376f4041c300abfb7 /modules/simpletest/drupal_web_test_case.php | |
parent | 11cc2b0251d705b5bed981368fee038e5dddb0d1 (diff) | |
parent | be00a1ced4104d84df2f34b149b35fb0adf91093 (diff) | |
download | brdo-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.php | 1 |
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)) { |