summaryrefslogtreecommitdiff
path: root/_test/tests
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-08-12 17:30:01 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-08-12 17:30:01 +0200
commit84c1127cc070777c8cbcf488f5422bc4b71470a8 (patch)
tree74a3b8f4613110d97e2f7ce0797203c53a0ad1e6 /_test/tests
parent835242b0f53a72a555ad30543a1677108ce210af (diff)
downloadrpg-84c1127cc070777c8cbcf488f5422bc4b71470a8.tar.gz
rpg-84c1127cc070777c8cbcf488f5422bc4b71470a8.tar.bz2
correctly check if subscriptions are enabled
Diffstat (limited to '_test/tests')
-rw-r--r--_test/tests/inc/subscription.test.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/_test/tests/inc/subscription.test.php b/_test/tests/inc/subscription.test.php
index be2e68b74..80548160a 100644
--- a/_test/tests/inc/subscription.test.php
+++ b/_test/tests/inc/subscription.test.php
@@ -212,6 +212,10 @@ class MockupSubscription extends Subscription {
$this->mails = array();
}
+ public function isenabled(){
+ return true;
+ }
+
public function buildregex($user = null, $style = null, $data = null) {
return parent::buildregex($user, $style, $data);
}