@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | protected function seeEmailContains($excerpt, Swift_Message $message = null) |
101 | 101 | { |
102 | 102 | $this->assertContains($excerpt, $this->getEmail($message) |
103 | - ->getBody(), "No email containing the provided body was found."); |
|
103 | + ->getBody(), "No email containing the provided body was found."); |
|
104 | 104 | |
105 | 105 | return $this; |
106 | 106 | } |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | { |
134 | 134 | // TODO: Allow from to be an array to check email & name |
135 | 135 | $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
136 | - ->getFrom(), "No email was sent from $sender."); |
|
136 | + ->getFrom(), "No email was sent from $sender."); |
|
137 | 137 | |
138 | 138 | return $this; |
139 | 139 | } |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | { |
167 | 167 | // TODO: Consider a subject contains like the message contains |
168 | 168 | $this->assertEquals($subject, $this->getEmail($message) |
169 | - ->getSubject(), "No email with a subject of $subject was found."); |
|
169 | + ->getSubject(), "No email with a subject of $subject was found."); |
|
170 | 170 | |
171 | 171 | return $this; |
172 | 172 | } |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
183 | 183 | { |
184 | 184 | $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
185 | - ->getTo(), "No email was sent to $recipient."); |
|
185 | + ->getTo(), "No email was sent to $recipient."); |
|
186 | 186 | |
187 | 187 | return $this; |
188 | 188 | } |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | protected function seeEmailFrom($sender, Swift_Message $message = null) |
133 | 133 | { |
134 | 134 | // TODO: Allow from to be an array to check email & name |
135 | - $this->assertArrayHasKey($sender, (array)$this->getEmail($message) |
|
135 | + $this->assertArrayHasKey($sender, (array) $this->getEmail($message) |
|
136 | 136 | ->getFrom(), "No email was sent from $sender."); |
137 | 137 | |
138 | 138 | return $this; |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | */ |
182 | 182 | protected function seeEmailTo($recipient, Swift_Message $message = null) |
183 | 183 | { |
184 | - $this->assertArrayHasKey($recipient, (array)$this->getEmail($message) |
|
184 | + $this->assertArrayHasKey($recipient, (array) $this->getEmail($message) |
|
185 | 185 | ->getTo(), "No email was sent to $recipient."); |
186 | 186 | |
187 | 187 | return $this; |