@@ -51,8 +51,8 @@ discard block |
||
51 | 51 | { |
52 | 52 | $register_plugin = function () { |
53 | 53 | $this->resolveMailer() |
54 | - ->getSwiftMailer() |
|
55 | - ->registerPlugin(new MailRecorder($this)); |
|
54 | + ->getSwiftMailer() |
|
55 | + ->registerPlugin(new MailRecorder($this)); |
|
56 | 56 | }; |
57 | 57 | |
58 | 58 | $this->afterApplicationCreated(function () use ($register_plugin) { |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | $this->assertStringContainsString( |
162 | 162 | $excerpt, |
163 | 163 | $this->getEmail($message) |
164 | - ->getBody(), |
|
164 | + ->getBody(), |
|
165 | 165 | "The last email sent did not contain the provided body." |
166 | 166 | ); |
167 | 167 | |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | $this->assertEquals( |
183 | 183 | $content_type, |
184 | 184 | $this->getEmail($message) |
185 | - ->getContentType(), |
|
185 | + ->getContentType(), |
|
186 | 186 | "The last email sent did not contain the provided body." |
187 | 187 | ); |
188 | 188 | |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | $this->assertStringNotContainsString( |
203 | 203 | $excerpt, |
204 | 204 | $this->getEmail($message) |
205 | - ->getBody(), |
|
205 | + ->getBody(), |
|
206 | 206 | "The last email sent contained the provided text in its body." |
207 | 207 | ); |
208 | 208 | |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | $this->assertEquals( |
223 | 223 | $body, |
224 | 224 | $this->getEmail($message) |
225 | - ->getBody(), |
|
225 | + ->getBody(), |
|
226 | 226 | "The last email sent did not match the given email." |
227 | 227 | ); |
228 | 228 | |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | $this->assertStringContainsString( |
350 | 350 | $excerpt, |
351 | 351 | $this->getEmail($message) |
352 | - ->getSubject(), |
|
352 | + ->getSubject(), |
|
353 | 353 | "The last email sent did not contain the provided subject." |
354 | 354 | ); |
355 | 355 | |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | $this->assertStringNotContainsString( |
370 | 370 | $excerpt, |
371 | 371 | $this->getEmail($message) |
372 | - ->getSubject(), |
|
372 | + ->getSubject(), |
|
373 | 373 | "The last email sent contained the provided text in its subject." |
374 | 374 | ); |
375 | 375 | |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | $this->assertEquals( |
390 | 390 | $subject, |
391 | 391 | $this->getEmail($message) |
392 | - ->getSubject(), |
|
392 | + ->getSubject(), |
|
393 | 393 | "The last email sent did not contain a subject of $subject." |
394 | 394 | ); |
395 | 395 |