diff --git a/src/Resources/skeleton/resetPassword/Test.ResetPasswordController.tpl.php b/src/Resources/skeleton/resetPassword/Test.ResetPasswordController.tpl.php index c81f11fee..16a8a6c01 100644 --- a/src/Resources/skeleton/resetPassword/Test.ResetPasswordController.tpl.php +++ b/src/Resources/skeleton/resetPassword/Test.ResetPasswordController.tpl.php @@ -46,6 +46,8 @@ public function testMaker(): void 'reset_password_request_form[email]' => 'me@example.com', ]); + // Ensure the reset password email was sent + // Use either assertQueuedEmailCount() || assertEmailCount() depending on your mailer setup // self::assertQueuedEmailCount(1); self::assertEmailCount(1);