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:
Maurits van Rees 2019-02-05 20:16:54 +01:00 committed by GitHub
commit 316d32a6f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,9 @@ New features:
Bug fixes:
- Do not depend on the ``meta_type`` metadata in the catalog.
[jensens]
- Changed $(window).load with $(document).ready in moderation.js
because in some version of FF and IE doesn't work.
[eikichi18]

View File

@ -320,7 +320,6 @@ class CommentCatalogTest(unittest.TestCase):
def test_type(self):
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')
def test_review_state(self):