summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-11 15:50:33 +0000
committerctrlaltca@gmail.com <>2011-05-11 15:50:33 +0000
commit2ccb6f8c5d5def47a6cf7a33ddcc04b5a84eab71 (patch)
tree757c2c1f077bd8ce5fc254e850132ce0ec477359 /tests
parent62d800c9ff91384cd1a124ddf790cec1bba170e2 (diff)
fixed 3 more unittests
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket703TestCase.php2
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket886TestCase.php2
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket897TestCase.php2
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');
}
}