From c324241bd722e2eb3488c9fb5a467882b7040435 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 7 Apr 2006 15:25:07 +0000 Subject: List controls now use array keys as list item values even if the array is integer-indexed --- tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php') diff --git a/tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php b/tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php index 9862d1d1..c031c5fd 100644 --- a/tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/ListBoxTestCase.php @@ -52,7 +52,7 @@ class ListBoxTestCase extends SeleniumTestCase // Databind to an integer-indexed array $this->selectAndWait("ctl0\$body\$DBListBox1[]", "label=item 3"); - $this->verifyTextPresent("Your selection is: (Index: 2, Value: item 3, Text: item 3)", ""); + $this->verifyTextPresent("Your selection is: (Index: 2, Value: 2, Text: item 3)", ""); // Databind to an associative array $this->selectAndWait("ctl0\$body\$DBListBox2[]", "label=item 2"); -- cgit v1.2.3