diff options
author | David Rothstein <drothstein@gmail.com> | 2014-04-16 17:44:34 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2014-04-16 17:44:34 -0400 |
commit | 6642fbc7001c728e218170fd286e6b8a24eef24f (patch) | |
tree | f61414ed711b211cceaf4a299de85a328d620f11 /modules/simpletest/drupal_web_test_case.php | |
parent | dc791ec5839b52c7616bf66993122aa9a1336384 (diff) | |
download | brdo-6642fbc7001c728e218170fd286e6b8a24eef24f.tar.gz brdo-6642fbc7001c728e218170fd286e6b8a24eef24f.tar.bz2 |
Drupal 7.27
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 6d0e59a4a..d71b1e1e6 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -2269,6 +2269,13 @@ class DrupalWebTestCase extends DrupalTestCase { } break; + case 'updateBuildId': + $buildId = $xpath->query('//input[@name="form_build_id" and @value="' . $command['old'] . '"]')->item(0); + if ($buildId) { + $buildId->setAttribute('value', $command['new']); + } + break; + // @todo Add suitable implementations for these commands in order to // have full test coverage of what ajax.js can do. case 'remove': |