diff options
author | xue <> | 2006-04-07 15:25:07 +0000 |
---|---|---|
committer | xue <> | 2006-04-07 15:25:07 +0000 |
commit | c324241bd722e2eb3488c9fb5a467882b7040435 (patch) | |
tree | 77af40f332bfad3d95736058565982ea4717889b /tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php | |
parent | 370c682479edb2fd3f40ee701f7bb4ef088e8283 (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/CheckBoxListTestCase.php')
-rw-r--r-- | tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php b/tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php index a845402d..50f2545a 100644 --- a/tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/CheckBoxListTestCase.php @@ -29,8 +29,8 @@ class CheckBoxListTestCase 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\$DBCheckBoxList1\$1' and @value='item 2']", "");
- $this->verifyTextPresent("Your selection is: (Index: 1, Value: item 2, Text: item 2)", "");
+ $this->clickAndWait("//input[@name='ctl0\$body\$DBCheckBoxList1\$1' and @value='1']", "");
+ $this->verifyTextPresent("Your selection is: (Index: 1, Value: 1, Text: item 2)", "");
// Databind to an associative array:
$this->clickAndWait("//input[@name='ctl0\$body\$DBCheckBoxList2\$1' and @value='key 2']", "");
|