@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | protected function seeEmailBcc($bcc, Swift_Message $message = null) |
| 103 | 103 | { |
| 104 | 104 | $this->assertArrayHasKey($bcc, (array)$this->getEmail($message) |
| 105 | - ->getBcc(), "The last email sent was not bcc'ed to $bcc."); |
|
| 105 | + ->getBcc(), "The last email sent was not bcc'ed to $bcc."); |
|
| 106 | 106 | |
| 107 | 107 | return $this; |
| 108 | 108 | } |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | protected function seeEmailCc($cc, Swift_Message $message = null) |
| 119 | 119 | { |
| 120 | 120 | $this->assertArrayHasKey($cc, (array)$this->getEmail($message) |
| 121 | - ->getCc(), "The last email sent was not cc'ed to $cc."); |
|
| 121 | + ->getCc(), "The last email sent was not cc'ed to $cc."); |
|
| 122 | 122 | |
| 123 | 123 | return $this; |
| 124 | 124 | } |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | protected function seeEmailContains($excerpt, Swift_Message $message = null) |
| 135 | 135 | { |
| 136 | 136 | $this->assertStringContainsString($excerpt, $this->getEmail($message) |
| 137 | - ->getBody(), "The last email sent did not contain the provided body."); |
|
| 137 | + ->getBody(), "The last email sent did not contain the provided body."); |
|
| 138 | 138 | |
| 139 | 139 | return $this; |
| 140 | 140 | } |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | { |
| 202 | 202 | // TODO: Allow from to be an array to check email & name |
| 203 | 203 | $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
| 204 | - ->getFrom(), "The last email sent was not sent from $sender."); |
|
| 204 | + ->getFrom(), "The last email sent was not sent from $sender."); |
|
| 205 | 205 | |
| 206 | 206 | return $this; |
| 207 | 207 | } |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | { |
| 239 | 239 | $this->assertArrayHasKey($reply_to, (array)$this->getEmail($message) |
| 240 | 240 | ->getReplyTo(), |
| 241 | - "The last email sent was not set to reply to $reply_to."); |
|
| 241 | + "The last email sent was not set to reply to $reply_to."); |
|
| 242 | 242 | |
| 243 | 243 | return $this; |
| 244 | 244 | } |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | protected function seeEmailSubjectContains($excerpt, Swift_Message $message = null) |
| 298 | 298 | { |
| 299 | 299 | $this->assertStringContainsString($excerpt, $this->getEmail($message) |
| 300 | - ->getSubject(), "The last email sent did not contain the provided subject."); |
|
| 300 | + ->getSubject(), "The last email sent did not contain the provided subject."); |
|
| 301 | 301 | |
| 302 | 302 | return $this; |
| 303 | 303 | } |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | protected function seeEmailSubjectEquals($subject, Swift_Message $message = null) |
| 330 | 330 | { |
| 331 | 331 | $this->assertEquals($subject, $this->getEmail($message) |
| 332 | - ->getSubject(), "The last email sent did not contain a subject of $subject."); |
|
| 332 | + ->getSubject(), "The last email sent did not contain a subject of $subject."); |
|
| 333 | 333 | |
| 334 | 334 | return $this; |
| 335 | 335 | } |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
| 346 | 346 | { |
| 347 | 347 | $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
| 348 | - ->getTo(), "The last email sent was not sent to $recipient."); |
|
| 348 | + ->getTo(), "The last email sent was not sent to $recipient."); |
|
| 349 | 349 | |
| 350 | 350 | return $this; |
| 351 | 351 | } |