X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcomment%2Ftests%2Fsrc%2FFunctional%2FViews%2FNodeCommentsTest.php;fp=web%2Fcore%2Fmodules%2Fcomment%2Ftests%2Fsrc%2FFunctional%2FViews%2FNodeCommentsTest.php;h=e2c5d15ef51f03792822fa175ec67146572836b7;hp=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php b/web/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php new file mode 100644 index 000000000..e2c5d15ef --- /dev/null +++ b/web/core/modules/comment/tests/src/Functional/Views/NodeCommentsTest.php @@ -0,0 +1,36 @@ +drupalGet('test-new-comments'); + $this->assertResponse(200); + $new_comments = $this->cssSelect(".views-field-new-comments a:contains('1')"); + $this->assertEqual(count($new_comments), 1, 'Found the number of new comments for a certain node.'); + } + +}