From 3f2e3ad633930744e1ed92cc529ca473ccfa09e0 Mon Sep 17 00:00:00 2001 From: Nathan Guse Date: Fri, 5 Oct 2012 00:07:48 -0500 Subject: [ticket/11103] Working on test case Fixing extension type/method naming scheme so they can be autoloaded. Other bugs PHPBB3-11103 --- .../ext/test/notification/type/test.php | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 tests/notification/ext/test/notification/type/test.php (limited to 'tests/notification/ext') diff --git a/tests/notification/ext/test/notification/type/test.php b/tests/notification/ext/test/notification/type/test.php new file mode 100644 index 0000000000..812d9a7698 --- /dev/null +++ b/tests/notification/ext/test/notification/type/test.php @@ -0,0 +1,72 @@ + array(''), + //2 => array('', 'email'), + //3 => array('', 'email', 'jabber'), + ); + } + + public function create_insert_array($post) + { + $this->time = $post['post_time']; + + return parent::create_insert_array($post); + } + + public function get_title() + { + return 'test title'; + } + + public function users_to_query() + { + return array(); + } + + public function get_url() + { + return ''; + } + + public function get_email_template_variables() + { + return array(); + } +} -- cgit v1.2.1