diff options
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket284Component.php | 11 | ||||
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket595TestCase.php | 4 |
2 files changed, 12 insertions, 3 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket284Component.php b/tests/FunctionalTests/tickets/protected/pages/Ticket284Component.php index 892bdc87..da6ad153 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket284Component.php +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket284Component.php @@ -2,6 +2,7 @@ class Ticket284Component extends TTemplateControl implements IValidatable
{
+ private $_isValid;
public function onPreRender($param)
{
if (!$this->ShowHours && $this->ShowMinutes)
@@ -90,5 +91,13 @@ class Ticket284Component extends TTemplateControl implements IValidatable return $this->TimeStamp;
}
}
+ public function getIsValid()
+ {
+ return $this->_isValid;
+ }
+ public function setIsValid($value)
+ {
+ $this->_isValid=TPropertyValue::ensureBoolean($value);
+ }
}
-?>
\ No newline at end of file +?>
diff --git a/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php index e2487f25..4321bd67 100644 --- a/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket595TestCase.php @@ -18,7 +18,7 @@ class Ticket595TestCase extends SeleniumTestCase $this->type($base.'A', 'test@pradosoft.com'); $this->click($base.'ctl2'); $this->pause(800); - $this->assertAttribute($base.'A@class',''); + $this->assertAttribute($base.'A@class','null'); $this->click($base.'ctl5'); @@ -33,7 +33,7 @@ class Ticket595TestCase extends SeleniumTestCase $this->type($base.'B', 'test@pradosoft.com'); $this->click($base.'ctl5'); $this->pause(800); - $this->assertAttribute($base.'B@class',''); + $this->assertAttribute($base.'B@class','null'); } } ?> |