"Enable comment moderation" setting added to the discussion control panel. Just a proof of concept so far. Not fully implemented yet. No tests.
svn path=/plone.app.discussion/trunk/; revision=46249
This commit is contained in:
@@ -90,5 +90,21 @@ class RegistryTest(PloneTestCase):
|
||||
# self.assertEquals(self.registry['plone.app.discussion.interfaces.' +
|
||||
# 'IDiscussionSettings.user_notification_enabled'], False)
|
||||
|
||||
|
||||
class ConfigurationChangedSubscriberTest(PloneTestCase):
|
||||
|
||||
layer = DiscussionLayer
|
||||
|
||||
def afterSetUp(self):
|
||||
self.loginAsPortalOwner()
|
||||
# Set up the registry
|
||||
self.registry = Registry()
|
||||
self.registry.registerInterface(IDiscussionSettings)
|
||||
|
||||
def todo(self):
|
||||
# XXX: Todo!!!
|
||||
pass
|
||||
|
||||
|
||||
def test_suite():
|
||||
return unittest.defaultTestLoader.loadTestsFromName(__name__)
|
||||
|
||||
Reference in New Issue
Block a user