diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php index df314891..21f61abe 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php @@ -9,15 +9,15 @@ class AutoCompleteTest extends TPage { $sender->setDataSource($this->matchCountries($param->getParameter())); $sender->dataBind(); - $sender->flush($param->getOutput()); + $sender->render($param->getNewWriter()); $this->label1->Text = "suggestion for ".$param->getParameter(); } - + public function callback_requested($sender, $param) { $this->label1->Text = "Label 1: ".$this->textbox3->Text; } - + protected function matchCountries($token) { $info = Prado::createComponent('System.I18N.core.CultureInfo', 'en'); @@ -31,9 +31,9 @@ class AutoCompleteTest extends TPage $list[] = $country; $count++; if($count > 10) break; - } + } } - return $list; + return $list; } } |