Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
comment.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Aug 2015 at 20:11 UTC
Updated:
22 Sep 2015 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
geertvd commentedComment #6
geertvd commentedNot really sure why this is not working, no issues locally.
Comment #8
geertvd commentedNow i feel stupid :)
Comment #10
geertvd commentedI'm going to include the linkReply handler in this test also.
Comment #11
geertvd commentedOk, I think this is better.
I added test coverage for
Drupal\comment\Plugin\views\field\LinkReply.I also added a
CommentKernelTestBaseclass since there are some other comment handlers that are still untested, those could extend fromCommentKernelTestBase.Ideally
CommentUserNameTestshould also extendCommentKernelTestBase, this can be picked up in a follow-up.Comment #12
geertvd commentednitpicks
Comment #13
geertvd commentedComment #14
geertvd commentedmore nitpicks
Comment #15
dawehnerI'm curious whether you want to try to port over the ViewKernelTestBase to KTBTNG, so for new tests we could use it. This does not belong into this issue, this is for sure.
Nitpick: Let's use
\Drupal\user\UserStorageInterfaceComment #16
geertvd commentedFixed those last nitpicks in #15, keeping this RTBC since I'm just changing some comments.
15.1: I could look into that, I think we should wait for #2553533: KernelTestBaseTNG™ is not cleaning up after itself to get in though, created a follow-up for that: #2556855: Port ViewKernelTestBase to extend from KernelTestBaseTNG™
Also created a follow-up for #11: #2556863: Make CommentUserNameTest extend from CommentViewKernelTestBase
Added beta evaluation.
Comment #17
geertvd commentedAnd the patch :)
Comment #20
geertvd commentedSeems like a random fail, setting back to RTBC
Comment #21
alexpottConmmentKernelTestBase feels like the wrong name since this about testing comment and views functionality - perhaps CommentViewKernelTestBase?
Comment #22
geertvd commentedFair enough
Comment #23
dawehnerGood point alex
Comment #24
alexpottThank you. Nice - more test coverage of views. Committed d551f8c and pushed to 8.0.x. Thanks!