summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php
diff options
context:
space:
mode:
authorxue <>2006-04-07 15:25:07 +0000
committerxue <>2006-04-07 15:25:07 +0000
commitc324241bd722e2eb3488c9fb5a467882b7040435 (patch)
tree77af40f332bfad3d95736058565982ea4717889b /tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php
parent370c682479edb2fd3f40ee701f7bb4ef088e8283 (diff)
List controls now use array keys as list item values even if the array is integer-indexed
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php')
-rw-r--r--tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php b/tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php
index 04ac376c..82cae1bf 100644
--- a/tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/RadioButtonListTestCase.php
@@ -29,8 +29,8 @@ class RadioButtonListTestCase extends SeleniumTestCase
$this->verifyTextPresent("Your selection is: (Index: 4, Value: value 5, Text: item 5)", "");
// Databind to an integer-indexed array
- $this->clickAndWait("//input[@name='ctl0\$body\$DBRadioButtonList1' and @value='item 1']", "");
- $this->verifyTextPresent("Your selection is: (Index: 0, Value: item 1, Text: item 1)", "");
+ $this->clickAndWait("//input[@name='ctl0\$body\$DBRadioButtonList1' and @value='0']", "");
+ $this->verifyTextPresent("Your selection is: (Index: 0, Value: 0, Text: item 1)", "");
// Databind to an associative array:
$this->clickAndWait("//input[@name='ctl0\$body\$DBRadioButtonList2' and @value='key 2']", "");