summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-23 02:26:11 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-23 02:26:11 +0000
commit3d4b1549602fb3b2b2a905035939c6d3d9beb1ff (patch)
treef6553ee3c4942cbf63d41aacc3d39700267e4946 /modules/simpletest
parent7f9a866cf19f5dc927031b91afb72c671575f8f7 (diff)
downloadbrdo-3d4b1549602fb3b2b2a905035939c6d3d9beb1ff.tar.gz
brdo-3d4b1549602fb3b2b2a905035939c6d3d9beb1ff.tar.bz2
#949872 by alex_b, jhodgdon, sun: Fixed filter format assertion randomly failing.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index e52f0cad9..8b57b174c 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -3020,6 +3020,8 @@ class DrupalWebTestCase extends DrupalTestCase {
* Message to display.
* @return
* TRUE on pass, FALSE on fail.
+ *
+ * @todo $id is unusable. Replace with $name.
*/
protected function assertOptionSelected($id, $option, $message = '') {
$elements = $this->xpath('//select[@id=:id]//option[@value=:option]', array(':id' => $id, ':option' => $option));