Révision 08f5d39b
Ajouté par Assos Assos il y a environ 9 ans
drupal7/modules/simpletest/drupal_web_test_case.php | ||
---|---|---|
2221 | 2221 |
|
2222 | 2222 |
// Submit the POST request. |
2223 | 2223 |
$return = drupal_json_decode($this->drupalPost(NULL, $edit, array('path' => $ajax_path, 'triggering_element' => $triggering_element), $options, $headers, $form_html_id, $extra_post)); |
2224 |
$this->assertIdentical($this->drupalGetHeader('X-Drupal-Ajax-Token'), '1', 'Ajax response header found.'); |
|
2224 | 2225 |
|
2225 | 2226 |
// Change the page content by applying the returned commands. |
2226 | 2227 |
if (!empty($ajax_settings) && !empty($return)) { |
Formats disponibles : Unified diff
Update drupal 7.38 -> 7.39