diff --git a/Tests/Functional/Utility/LogParserUtilityTest.php b/Tests/Functional/Utility/LogParserUtilityTest.php index 841734e..37fbd9c 100644 --- a/Tests/Functional/Utility/LogParserUtilityTest.php +++ b/Tests/Functional/Utility/LogParserUtilityTest.php @@ -64,21 +64,37 @@ public static function mailDataProvider(): array 'format' => FluidEmail::FORMAT_BOTH, ]; + $htmlOnlyMail = $defaultMail; + $htmlOnlyMail['format'] = FluidEmail::FORMAT_HTML; + + $plainOnlyMail = $defaultMail; + $plainOnlyMail['format'] = FluidEmail::FORMAT_PLAIN; + return [ [ [$defaultMail], ], [ [ + $plainOnlyMail, + $plainOnlyMail, $defaultMail, - $defaultMail, + $plainOnlyMail, ], ], [ [ + $htmlOnlyMail, + $htmlOnlyMail, $defaultMail, + $htmlOnlyMail, ], ], + [ + [$defaultMail], + [$htmlOnlyMail], + [$plainOnlyMail], + ], ]; } @@ -89,7 +105,7 @@ public static function mailDataProvider(): array */ public function testEmailEncoding(array $exampleMails): void { - foreach ($exampleMails as $key => $exampleMail) { + foreach ($exampleMails as $exampleMail) { $this->createTestMail($exampleMail); }