Skip to content

Commit

Permalink
Force Kernel is init correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 24, 2024
1 parent 6d4800b commit 02d5f73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/Functional/Mail/MailerHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 02d5f73

Please sign in to comment.