summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
authorwei <>2006-11-28 23:34:00 +0000
committerwei <>2006-11-28 23:34:00 +0000
commitf4925fce58f1827515ced2c32bb12f2aa977a1f2 (patch)
treeb577eaaf872cd9d640f3ea8783fb4c898ca0ca57 /tests/FunctionalTests
parent51fe975484bb4d1e8e63f4438c1c8e7f1b41c5df (diff)
Make simpletest E_STRICT compatible
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket463.page3
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket463TestCase.php13
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket463.page b/tests/FunctionalTests/tickets/protected/pages/Ticket463.page
new file mode 100644
index 00000000..1cec6485
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket463.page
@@ -0,0 +1,3 @@
+<com:TContent ID="Content">
+ <com:TDateFormat Value="2005-05-01"/>
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket463TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket463TestCase.php
new file mode 100644
index 00000000..51b27b87
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket463TestCase.php
@@ -0,0 +1,13 @@
+<?php
+
+class Ticket463TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket463');
+ $this->verifyTitle("Verifying Ticket 463", "");
+ $this->assertTextPresent('May 1, 2005 12:00:00 AM');
+ }
+}
+
+?> \ No newline at end of file