Repository: plone.app.contenttypes
Branch: refs/heads/master
Date: 2014-12-02T13:49:07+01:00
Author: Martin Opstad Reistadbakk (martior) <martin@blaastolen.com>
Commit: https://github.com/plone/plone.app.contenttypes/commit/93d307fd12c57554723e7140b6b713adca81df36

din't enable plone.app.referenceablebehavior.referenceable.IReferenceable in tests for Documents as it is causing errors in plone.app.discussion tests

Files changed:
M plone/app/contenttypes/testing.py

diff --git a/plone/app/contenttypes/testing.py b/plone/app/contenttypes/testing.py
index 471ae9a..aa4a2a3 100644
--- a/plone/app/contenttypes/testing.py
+++ b/plone/app/contenttypes/testing.py
@@ -47,8 +47,10 @@ def setUpPloneSite(self, portal):
 
         # install and enable referenceablebehavior on Documents to be able to test
         # controlpanel to enable plone.app.linkintegrity checks
-        applyProfile(portal, 'plone.app.referenceablebehavior:default')
-        portal.portal_types.Document.behaviors += ('plone.app.referenceablebehavior.referenceable.IReferenceable',)
+        # XXX Disabled as it is causing test errors in comments
+        # see https://github.com/plone/Products.CMFPlone/issues/255
+        #applyProfile(portal, 'plone.app.referenceablebehavior:default')
+        #portal.portal_types.Document.behaviors += ('plone.app.referenceablebehavior.referenceable.IReferenceable',)
 
         mtr = portal.mimetypes_registry
         mime_doc = mtr.lookup('application/msword')[0]