Skip to content

Commit

Permalink
Try fix lowest kernel init
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 24, 2024
1 parent 4722b2f commit 6d4800b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Tests/Functional/Mail/HelperTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ class HelperTestCase extends SuluTestCase

protected function setUp(): void
{
static::$kernel = null; // requires as Symfonfy 4.4 does not unset on tearDown

parent::setUp();
static::$kernel = null; // requires as Symfony 4.4 does not unset on tearDown

$this->client = $this->createWebsiteClient();
$this->purgeDatabase();
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Mail/MailerHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function testSendsEmailUsingMailerComponent()
$this->assertSame(0, $mailCollector->getMessageCount());
}

// 2 messages should be send 1 to admin and 1 to email
// 2 messages should be sent 1 to admin and 1 to email
$this->assertEmailCount(2);
}
}

0 comments on commit 6d4800b

Please sign in to comment.