Browse Source

removed empty line

Mario Rothauer 5 years ago
parent
commit
0fcd67a800
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/TestCase/TestSuite/EmailTraitTest.php

+ 4 - 0
tests/TestCase/TestSuite/EmailTraitTest.php

@@ -89,6 +89,8 @@ class EmailTraitTest extends TestCase
         $this->assertMailContains('text');
         $this->assertMailContains('html');
 
+        $this->assertMailSubjectContains('world');
+
         $this->assertMailContainsAttachment('custom_name.php');
         $this->assertMailContainsAttachment('custom_name.php', ['file' => CAKE . 'basics.php']);
 
@@ -123,6 +125,8 @@ class EmailTraitTest extends TestCase
         $this->assertMailContainsAt(0, 'text');
         $this->assertMailContainsAt(1, 'html');
 
+        $this->assertMailSubjectContainsAt(0, 'world');
+
         $this->assertMailSentWithAt(0, 'Hello world', 'subject');
         $this->assertMailSentWithAt(0, 'replyto@example.com', 'replyTo');
     }