Commit bf669561 authored by Gisle Hannemyr's avatar Gisle Hannemyr Committed by Gisle Hannemyr
Browse files

Issue #3300511 by gisle: Started repairing tests

parent 576736ba
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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.
@@ -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);
  }

}