From 2ccb6f8c5d5def47a6cf7a33ddcc04b5a84eab71 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 11 May 2011 15:50:33 +0000 Subject: fixed 3 more unittests --- tests/FunctionalTests/tickets/tests/Ticket703TestCase.php | 2 +- tests/FunctionalTests/tickets/tests/Ticket886TestCase.php | 2 +- tests/FunctionalTests/tickets/tests/Ticket897TestCase.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php index 75fc1d45..d497bb34 100644 --- a/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket703TestCase.php @@ -5,7 +5,7 @@ class Ticket703TestCase extends SeleniumTestCase { $base = 'ctl0_Content_'; $this->open('tickets/index.php?page=Ticket703.Ticket703'); - $this->assertTitle("Verifying Ticket 703.703"); + $this->assertTitle("Verifying Ticket703.Ticket703 703.703"); // Start with an empty log $this->click($base.'ctl2'); // Wait for callback to be lanched diff --git a/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php index 17e4295f..1350096b 100644 --- a/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php @@ -8,7 +8,7 @@ class Ticket886TestCase extends SeleniumTestCase $this->assertTitle("Verifying Ticket 886"); $base = 'ctl0_Content_'; $this->clickAndWait($base.'SendButton'); - $this->assertTextPresent('2008-01-01'); + $this->assertTextPresent(date('Y').'-01-01'); } } diff --git a/tests/FunctionalTests/tickets/tests/Ticket897TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket897TestCase.php index eaf4e47a..c59dbdcd 100644 --- a/tests/FunctionalTests/tickets/tests/Ticket897TestCase.php +++ b/tests/FunctionalTests/tickets/tests/Ticket897TestCase.php @@ -12,7 +12,7 @@ class Ticket897TestCase extends SeleniumTestCase $this->select($base.'Date_day', 22); $this->clickAndWait($base.'SendButton'); - $this->assertTextPresent('2008-10-22'); + $this->assertTextPresent(date('Y').'-10-22'); } } -- cgit v1.2.3