From 101e78e6dab863460d3cbc112d5d795370276fc7 Mon Sep 17 00:00:00 2001 From: knut <> Date: Sun, 20 Jul 2008 16:04:35 +0000 Subject: fixed #886 --- .../tickets/protected/pages/Ticket886.page | 8 ++++++++ .../FunctionalTests/tickets/protected/pages/Ticket886.php | 9 +++++++++ tests/FunctionalTests/tickets/tests/Ticket886TestCase.php | 15 +++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket886.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket886.php create mode 100644 tests/FunctionalTests/tickets/tests/Ticket886TestCase.php (limited to 'tests/FunctionalTests') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket886.page b/tests/FunctionalTests/tickets/protected/pages/Ticket886.page new file mode 100644 index 00000000..ea9319fd --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket886.page @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket886.php b/tests/FunctionalTests/tickets/protected/pages/Ticket886.php new file mode 100644 index 00000000..f14d067d --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket886.php @@ -0,0 +1,9 @@ +Output->Text = date('Y-m-d', $this->Year->TimeStamp); + } + +} +?> diff --git a/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php new file mode 100644 index 00000000..17e4295f --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket886TestCase.php @@ -0,0 +1,15 @@ +open('tickets/index.php?page=Ticket886'); + $this->assertTitle("Verifying Ticket 886"); + $base = 'ctl0_Content_'; + $this->clickAndWait($base.'SendButton'); + $this->assertTextPresent('2008-01-01'); + } +} + +?> -- cgit v1.2.3