From cb743343761771dcd056fb67862a999f96baa190 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 30 Sep 2013 23:51:39 +0200 Subject: More work on fixing testcases for old tickets --- tests/FunctionalTests/tickets/protected/pages/Ticket585.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket585.php') 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; } -- cgit v1.2.3