Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
comment.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2015 at 08:10 UTC
Updated:
29 Jan 2015 at 11:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerJust loading a saving is a test coverage? This is not really obvious :(
Comment #2
larowlanNo, i think it passes in head, so I need to work out why, but wanted an issue to point the comment base fields at (it is failing there)
Comment #3
larowlanComment #4
larowlanSo the issue with the test was *all* combinations were testing MAYNOT_CONTACT, we need one to test MAY_CONTACT
Comment #7
larowlanName isn't an administrative field, test was wrong - see CommentAccessControlHandler
Comment #8
larowlanComment #9
grendzy commentedComment #10
alexpottShould we not be testing both situations?
Comment #11
larowlanHi Alex,
Yes there are three other comments in the test which use the 'must not contact' option, the issue is none of the four were testing the 'may contact' option because I'd assumed the wrong default
Lee
Comment #12
alexpottThis issue addresses a major bug and is allowed per https://www.drupal.org/core/beta-changes. Committed 04fc787 and pushed to 8.0.x. Thanks!