File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ public function testEmailException(): void
213
213
214
214
self ::assertNotEmpty ($ this ->emailsSent );
215
215
$ message = \current ($ this ->emailsSent );
216
- self ::assertNotEmpty ($ message );
216
+ self ::assertNotFalse ($ message );
217
217
218
218
$ messageText = $ message ['body ' ];
219
219
self ::assertStringContainsString ($ this ->exception ->getMessage (), $ messageText );
@@ -237,7 +237,7 @@ public function testCanHideVariablesFromEmail(): void
237
237
238
238
self ::assertNotEmpty ($ this ->emailsSent );
239
239
$ message = \current ($ this ->emailsSent );
240
- self ::assertNotEmpty ($ message );
240
+ self ::assertNotFalse ($ message );
241
241
242
242
$ messageText = $ message ['body ' ];
243
243
self ::assertStringContainsString ($ this ->exception ->getMessage (), $ messageText );
@@ -270,6 +270,7 @@ public function testUsernameInEmailSubject(): void
270
270
$ this ->errorHandler ->emailException ($ this ->exception );
271
271
272
272
$ message = \current ($ this ->emailsSent );
273
+ self ::assertNotFalse ($ message );
273
274
274
275
self ::assertStringContainsString ($ username , $ message ['subject ' ]);
275
276
}
You can’t perform that action at this time.
0 commit comments