@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | $this->arrayHasKey((array)$this->getEmail($message) |
| 118 | - ->getBcc(), $bcc_list, 'The last email sent was not bcc\'ed to any of the following addresses: ' . implode(', ', $bcc_list) . '.'); |
|
| 118 | + ->getBcc(), $bcc_list, 'The last email sent was not bcc\'ed to any of the following addresses: ' . implode(', ', $bcc_list) . '.'); |
|
| 119 | 119 | |
| 120 | 120 | return $this; |
| 121 | 121 | } |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | protected function seeEmailCc($cc, Swift_Message $message = null) |
| 132 | 132 | { |
| 133 | 133 | $this->assertArrayHasKey($cc, (array)$this->getEmail($message) |
| 134 | - ->getCc(), "The last email sent was not cc'ed to $cc."); |
|
| 134 | + ->getCc(), "The last email sent was not cc'ed to $cc."); |
|
| 135 | 135 | |
| 136 | 136 | return $this; |
| 137 | 137 | } |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | protected function seeEmailContains($excerpt, Swift_Message $message = null) |
| 148 | 148 | { |
| 149 | 149 | $this->assertContains($excerpt, $this->getEmail($message) |
| 150 | - ->getBody(), "The last email sent did not contain the provided body."); |
|
| 150 | + ->getBody(), "The last email sent did not contain the provided body."); |
|
| 151 | 151 | |
| 152 | 152 | return $this; |
| 153 | 153 | } |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | { |
| 183 | 183 | $this->assertNotContains($excerpt, $this->getEmail($message) |
| 184 | 184 | ->getBody(), |
| 185 | - "The last email sent contained the provided text in its body."); |
|
| 185 | + "The last email sent contained the provided text in its body."); |
|
| 186 | 186 | |
| 187 | 187 | return $this; |
| 188 | 188 | } |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | { |
| 216 | 216 | // TODO: Allow from to be an array to check email & name |
| 217 | 217 | $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
| 218 | - ->getFrom(), "The last email sent was not sent from $sender."); |
|
| 218 | + ->getFrom(), "The last email sent was not sent from $sender."); |
|
| 219 | 219 | |
| 220 | 220 | return $this; |
| 221 | 221 | } |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | { |
| 253 | 253 | $this->assertArrayHasKey($reply_to, (array)$this->getEmail($message) |
| 254 | 254 | ->getReplyTo(), |
| 255 | - "The last email sent was not set to reply to $reply_to."); |
|
| 255 | + "The last email sent was not set to reply to $reply_to."); |
|
| 256 | 256 | |
| 257 | 257 | return $this; |
| 258 | 258 | } |
@@ -311,8 +311,8 @@ discard block |
||
| 311 | 311 | protected function seeEmailSubjectContains($excerpt, Swift_Message $message = null) |
| 312 | 312 | { |
| 313 | 313 | $this->assertContains($excerpt, $this->getEmail($message) |
| 314 | - ->getSubject(), |
|
| 315 | - "The last email sent did not contain the provided subject."); |
|
| 314 | + ->getSubject(), |
|
| 315 | + "The last email sent did not contain the provided subject."); |
|
| 316 | 316 | |
| 317 | 317 | return $this; |
| 318 | 318 | } |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | { |
| 330 | 330 | $this->assertNotContains($excerpt, $this->getEmail($message) |
| 331 | 331 | ->getSubject(), |
| 332 | - "The last email sent contained the provided text in its subject."); |
|
| 332 | + "The last email sent contained the provided text in its subject."); |
|
| 333 | 333 | |
| 334 | 334 | return $this; |
| 335 | 335 | } |
@@ -345,7 +345,7 @@ discard block |
||
| 345 | 345 | protected function seeEmailSubjectEquals($subject, Swift_Message $message = null) |
| 346 | 346 | { |
| 347 | 347 | $this->assertEquals($subject, $this->getEmail($message) |
| 348 | - ->getSubject(), |
|
| 348 | + ->getSubject(), |
|
| 349 | 349 | "The last email sent did not contain a subject of $subject."); |
| 350 | 350 | |
| 351 | 351 | return $this; |
@@ -362,7 +362,7 @@ discard block |
||
| 362 | 362 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
| 363 | 363 | { |
| 364 | 364 | $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
| 365 | - ->getTo(), "The last email sent was not sent to $recipient."); |
|
| 365 | + ->getTo(), "The last email sent was not sent to $recipient."); |
|
| 366 | 366 | |
| 367 | 367 | return $this; |
| 368 | 368 | } |