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
213213
214214 self ::assertNotEmpty ($ this ->emailsSent );
215215 $ message = \current ($ this ->emailsSent );
216- self ::assertNotEmpty ($ message );
216+ self ::assertNotFalse ($ message );
217217
218218 $ messageText = $ message ['body ' ];
219219 self ::assertStringContainsString ($ this ->exception ->getMessage (), $ messageText );
@@ -237,7 +237,7 @@ public function testCanHideVariablesFromEmail(): void
237237
238238 self ::assertNotEmpty ($ this ->emailsSent );
239239 $ message = \current ($ this ->emailsSent );
240- self ::assertNotEmpty ($ message );
240+ self ::assertNotFalse ($ message );
241241
242242 $ messageText = $ message ['body ' ];
243243 self ::assertStringContainsString ($ this ->exception ->getMessage (), $ messageText );
@@ -270,6 +270,7 @@ public function testUsernameInEmailSubject(): void
270270 $ this ->errorHandler ->emailException ($ this ->exception );
271271
272272 $ message = \current ($ this ->emailsSent );
273+ self ::assertNotFalse ($ message );
273274
274275 self ::assertStringContainsString ($ username , $ message ['subject ' ]);
275276 }
You can’t perform that action at this time.
0 commit comments