From 3d4b1549602fb3b2b2a905035939c6d3d9beb1ff Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sat, 23 Oct 2010 02:26:11 +0000 Subject: #949872 by alex_b, jhodgdon, sun: Fixed filter format assertion randomly failing. --- modules/simpletest/drupal_web_test_case.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/simpletest') 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)); -- cgit v1.2.3