summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/protected')
-rw-r--r--tests/FunctionalTests/protected/pages/Validation/CheckBox.php4
-rw-r--r--tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php
index 6e2d8ee5..8154210c 100644
--- a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php
+++ b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php
@@ -2,7 +2,7 @@
class CheckBox extends TPage
{
- protected function onLoad($param)
+ public function onLoad($param)
{
if(!$this->IsPostBack)
$this->dataBind();
@@ -26,7 +26,7 @@ class CheckBoxTestCase2 extends SeleniumTestCase
$this->pause(100);
$this->assertVisible("ctl0_Content_validator1");
- //write some text, and see what it
+ //write some text, and see what it
$this->type('ctl0_Content_TextBox', "hello");
$this->pause(100);
$this->assertNotVisible("ctl0_Content_validator1");
diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
index 0399d4a3..97ec656b 100644
--- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
+++ b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php
@@ -2,7 +2,7 @@
class RequiredFieldValidator extends TPage
{
- protected function onLoad($param)
+ public function onLoad($param)
{
if(!$this->IsPostBack)
$this->dataBind();