summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/TicketTestPage.php
diff options
context:
space:
mode:
authorwei <>2006-02-02 06:06:30 +0000
committerwei <>2006-02-02 06:06:30 +0000
commit2037f60c73a77f28cc09fcb64cb424e16c593765 (patch)
treeccc4002a0dc984028e0381f5d4e9342022108075 /tests/FunctionalTests/protected/pages/TicketTestPage.php
parenta2a030c3cfbb0249762fffa4159107bc13f8952d (diff)
Fixed #21
Diffstat (limited to 'tests/FunctionalTests/protected/pages/TicketTestPage.php')
-rw-r--r--tests/FunctionalTests/protected/pages/TicketTestPage.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/FunctionalTests/protected/pages/TicketTestPage.php b/tests/FunctionalTests/protected/pages/TicketTestPage.php
new file mode 100644
index 00000000..f647f56b
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/TicketTestPage.php
@@ -0,0 +1,14 @@
+<?php
+
+class TicketTestPage extends TTemplateControl
+{
+ public function onLoad($param)
+ {
+ $num = str_replace('Ticket_','',get_class($this->getPage()));
+ $this->getPage()->setTitle("Verifying Ticket $num");
+ $this->ticketlink->setText("Verifying Ticket $num");
+ $this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/ticket/{$num}");
+ }
+}
+
+?> \ No newline at end of file