Merge pull request #146 from plone/jensens/no-meta_type
Do not depend on the meta_type metadata in the catalog
This commit is contained in:
commit
316d32a6f5
@ -14,6 +14,9 @@ New features:
|
|||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
|
- Do not depend on the ``meta_type`` metadata in the catalog.
|
||||||
|
[jensens]
|
||||||
|
|
||||||
- Changed $(window).load with $(document).ready in moderation.js
|
- Changed $(window).load with $(document).ready in moderation.js
|
||||||
because in some version of FF and IE doesn't work.
|
because in some version of FF and IE doesn't work.
|
||||||
[eikichi18]
|
[eikichi18]
|
||||||
|
@ -320,7 +320,6 @@ class CommentCatalogTest(unittest.TestCase):
|
|||||||
|
|
||||||
def test_type(self):
|
def test_type(self):
|
||||||
self.assertEqual(self.comment_brain.portal_type, 'Discussion Item')
|
self.assertEqual(self.comment_brain.portal_type, 'Discussion Item')
|
||||||
self.assertEqual(self.comment_brain.meta_type, 'Discussion Item')
|
|
||||||
self.assertEqual(self.comment_brain.Type, 'Comment')
|
self.assertEqual(self.comment_brain.Type, 'Comment')
|
||||||
|
|
||||||
def test_review_state(self):
|
def test_review_state(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user