summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php4
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
index 21f61abe..997e9bdd 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
@@ -7,10 +7,10 @@ class AutoCompleteTest extends TPage
{
public function suggestCountries($sender, $param)
{
- $sender->setDataSource($this->matchCountries($param->getParameter()));
+ $sender->setDataSource($this->matchCountries($param->getCallbackParameter()));
$sender->dataBind();
$sender->render($param->getNewWriter());
- $this->label1->Text = "suggestion for ".$param->getParameter();
+ $this->label1->Text = "suggestion for ".$param->getCallbackParameter();
}
public function callback_requested($sender, $param)
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php b/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php
index c3c44252..a8f83187 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php
@@ -4,7 +4,7 @@ class ValueTriggerCallbackTest extends TPage
{
function text1_changed($sender, $param)
{
- $values = $param->getParameter();
+ $values = $param->getCallbackParameter();
$this->label1->Text = "Old = ".$values->OldValue." : New Value = ".$values->NewValue;
}
}