summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroadaeh2017-04-23 18:16:43 (GMT)
committerJason Flatt2017-04-23 18:16:43 (GMT)
commitf129bdc5f638bc65c96f3953aa6ecce2273c5398 (patch)
tree148ec3dfbb84354d6120fe1e86dad4aa4e06f5f3
parent6812cd855e3f43b0b9947ed6b458d67ca79b4b5e (diff)
Issue #2866461 by oadaeh: Non-static method PHP notice when testing
-rw-r--r--pm_email_notify/pm_email_notify.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/pm_email_notify/pm_email_notify.test b/pm_email_notify/pm_email_notify.test
index f4b3040..b841f6b 100644
--- a/pm_email_notify/pm_email_notify.test
+++ b/pm_email_notify/pm_email_notify.test
@@ -11,9 +11,8 @@ class PrivatemsgEMailNotifyTestCase extends PrivatemsgBaseTestCase {
/**
* Implements getInfo().
*/
- function getInfo() {
- return array
- (
+ public static function getInfo() {
+ return array (
'name' => t('Privatemsg E-Mail notifications.'),
'description' => t('Test sending e-mail notifications according to the set configuration.'),
'group' => t('Privatemsg'),