@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | protected function seeEmailBcc($bcc, Swift_Message $message = null) |
| 98 | 98 | { |
| 99 | 99 | $this->assertArrayHasKey($bcc, (array)$this->getEmail($message) |
| 100 | - ->getBcc(), "No email was bcc'ed to $bcc."); |
|
| 100 | + ->getBcc(), "No email was bcc'ed to $bcc."); |
|
| 101 | 101 | |
| 102 | 102 | return $this; |
| 103 | 103 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | protected function seeEmailCc($cc, Swift_Message $message = null) |
| 114 | 114 | { |
| 115 | 115 | $this->assertArrayHasKey($cc, (array)$this->getEmail($message) |
| 116 | - ->getCc(), "No email was cc'ed to $cc."); |
|
| 116 | + ->getCc(), "No email was cc'ed to $cc."); |
|
| 117 | 117 | |
| 118 | 118 | return $this; |
| 119 | 119 | } |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | protected function seeEmailContains($excerpt, Swift_Message $message = null) |
| 130 | 130 | { |
| 131 | 131 | $this->assertContains($excerpt, $this->getEmail($message) |
| 132 | - ->getBody(), "No email containing the provided body was found."); |
|
| 132 | + ->getBody(), "No email containing the provided body was found."); |
|
| 133 | 133 | |
| 134 | 134 | return $this; |
| 135 | 135 | } |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | { |
| 179 | 179 | // TODO: Allow from to be an array to check email & name |
| 180 | 180 | $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
| 181 | - ->getFrom(), "No email was sent from $sender."); |
|
| 181 | + ->getFrom(), "No email was sent from $sender."); |
|
| 182 | 182 | |
| 183 | 183 | return $this; |
| 184 | 184 | } |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | { |
| 228 | 228 | // TODO: Consider a subject contains like the message contains |
| 229 | 229 | $this->assertEquals($subject, $this->getEmail($message) |
| 230 | - ->getSubject(), "No email with a subject of $subject was found."); |
|
| 230 | + ->getSubject(), "No email with a subject of $subject was found."); |
|
| 231 | 231 | |
| 232 | 232 | return $this; |
| 233 | 233 | } |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
| 244 | 244 | { |
| 245 | 245 | $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
| 246 | - ->getTo(), "No email was sent to $recipient."); |
|
| 246 | + ->getTo(), "No email was sent to $recipient."); |
|
| 247 | 247 | |
| 248 | 248 | return $this; |
| 249 | 249 | } |