From 02d5f73e9845d888984eb8fc2093097641df1a2d Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Wed, 24 Jul 2024 18:08:42 +0200 Subject: [PATCH] Force Kernel is init correctly --- Tests/Functional/Mail/MailerHelperTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/Functional/Mail/MailerHelperTest.php b/Tests/Functional/Mail/MailerHelperTest.php index ab01097d..19c7272c 100644 --- a/Tests/Functional/Mail/MailerHelperTest.php +++ b/Tests/Functional/Mail/MailerHelperTest.php @@ -23,6 +23,9 @@ public static function getKernelClass(): string public function testSendsEmailUsingMailerComponent() { + $this->assertIsObject(static::$kernel); + $this->assertSame(MailerKernel::class, static::$kernel::class); + $formTranslationRepository = $this->entityManager->getRepository(FormTranslation::class); /** @var FormTranslation $formTranslation */ $formTranslation = $formTranslationRepository->findOneBy(['title' => 'Title', 'locale' => 'de']);