Remove moderation_enabled setting from registry to avoid migration problems to 1.0RC1. Refs #11419.

svn path=/plone.app.discussion/branches/1.x/; revision=47031
This commit is contained in:
Timo Stollenwerk
2011-01-24 08:37:43 +00:00
parent f44cb442eb
commit 543b9d47c5
4 changed files with 39 additions and 33 deletions
@@ -54,13 +54,14 @@ class RegistryTest(PloneTestCase):
self.assertEquals(self.registry['plone.app.discussion.interfaces.' +
'IDiscussionSettings.anonymous_comments'], False)
def test_moderation_enabled(self):
# Check globally_enabled record
self.failUnless('moderation_enabled' in IDiscussionSettings)
self.assertEquals(
self.registry['plone.app.discussion.interfaces.' +
'IDiscussionSettings.moderation_enabled'],
False)
# p.a.discussion > 2.0 only
# def test_moderation_enabled(self):
# # Check globally_enabled record
# self.failUnless('moderation_enabled' in IDiscussionSettings)
# self.assertEquals(
# self.registry['plone.app.discussion.interfaces.' +
# 'IDiscussionSettings.moderation_enabled'],
# False)
def test_text_transform(self):
self.failUnless('text_transform' in IDiscussionSettings)