Loading tests/src/Kernel/SkipFlagsTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ class SkipFlagsTest extends NotifyKernelTestBase { } /** * Tests that notifications are send, but that one comment is skipped. * Tests that notifications are sent, but that one comment is skipped. */ public function testSkipSingleComment() { // Create a node. Loading @@ -119,8 +119,8 @@ class SkipFlagsTest extends NotifyKernelTestBase { $mail = end($mails); $body = (string) $mail['body']; $this->assertStringContainsString('1 new comment', $body); $this->assertStringContainsString('/node/1#comments-title', $body); $this->assertStringNotContainsString('/node/2#comments-title', $body); $this->assertStringContainsString('/comment/1#comment-1', $body); $this->assertStringNotContainsString('/comment/2#comment-2', $body); } } Loading
tests/src/Kernel/SkipFlagsTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ class SkipFlagsTest extends NotifyKernelTestBase { } /** * Tests that notifications are send, but that one comment is skipped. * Tests that notifications are sent, but that one comment is skipped. */ public function testSkipSingleComment() { // Create a node. Loading @@ -119,8 +119,8 @@ class SkipFlagsTest extends NotifyKernelTestBase { $mail = end($mails); $body = (string) $mail['body']; $this->assertStringContainsString('1 new comment', $body); $this->assertStringContainsString('/node/1#comments-title', $body); $this->assertStringNotContainsString('/node/2#comments-title', $body); $this->assertStringContainsString('/comment/1#comment-1', $body); $this->assertStringNotContainsString('/comment/2#comment-2', $body); } }