summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-09-30 23:51:39 +0200
committerFabio Bas <ctrlaltca@gmail.com>2013-09-30 23:51:39 +0200
commitcb743343761771dcd056fb67862a999f96baa190 (patch)
treeeb5efb1a5958dfe4eb791e5b4a80944447eb490f /tests/FunctionalTests/tickets/protected
parentb3c158619506f993fe94fa1f119de8481b3ef5d0 (diff)
More work on fixing testcases for old tickets
Diffstat (limited to 'tests/FunctionalTests/tickets/protected')
-rwxr-xr-xtests/FunctionalTests/tickets/protected/pages/Ticket585.page2
-rwxr-xr-xtests/FunctionalTests/tickets/protected/pages/Ticket585.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket585.page b/tests/FunctionalTests/tickets/protected/pages/Ticket585.page
index f5e26f24..9c02df4e 100755
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket585.page
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket585.page
@@ -14,6 +14,6 @@
/>
</com:TActiveCustomValidator>
<span id="error"></span>
-<com:TButton ID="button1" Text="ok"/>
+<com:TActiveButton ID="button1" Text="ok"/>
</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket585.php b/tests/FunctionalTests/tickets/protected/pages/Ticket585.php
index 638b7453..e5b08036 100755
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket585.php
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket585.php
@@ -5,7 +5,7 @@ class Ticket585 extends TPage
public function ChkDate ($sender, $param)
{
- if ($param->Value == "15-03-2007")
+ if ($param->Value && date('d-m-Y', $param->Value) == "15-03-2007")
{
$param->IsValid=false;
}