diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php index abb6c8c8..4a488107 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php @@ -4,8 +4,9 @@ class PageStateTest extends TPage {
function button1_oncallback($sender, $param)
{
- sleep(rand(0,5));
- $this->label1->Text .= " button1 clicked ";
+ //sleep(rand(0,5));
+ $sender->CustomData = $sender->CustomData + 1;
+ $this->label1->Text = " button1 clicked ".$sender->CustomData." times";
}
}
|