From 6642fbc7001c728e218170fd286e6b8a24eef24f Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Wed, 16 Apr 2014 17:44:34 -0400 Subject: Drupal 7.27 --- modules/simpletest/drupal_web_test_case.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/simpletest/drupal_web_test_case.php') 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': -- cgit v1.2.3