Make unit tests pass with Plone 3.3 again. Migration tests still failing.

svn path=/plone.app.discussion/trunk/; revision=30633
This commit is contained in:
Timo Stollenwerk
2009-10-16 12:11:58 +00:00
parent b07f556a32
commit e5f1a70de6
6 changed files with 48 additions and 17 deletions
+2
View File
@@ -59,6 +59,8 @@ def searchable_text(object):
@indexer(IComment)
def in_response_to(object):
# Always returns the content object the comment is added to.
# Do not confuse this with the in_reply_to attribute of a comment!
return object.__parent__.__parent__.title_or_id()
@indexer(IComment)