From 1e85e46204616e59ff7e34e4a141acdf9cf0c70a Mon Sep 17 00:00:00 2001 From: Zaahid Bateson Date: Wed, 18 Apr 2018 11:25:58 -0700 Subject: [PATCH] Fix composer install warning on Windows #61 --- .../IntegrationTests/EmailFunctionalTest.php | 98 +++++++++---------- .../_data/emails/files/HasenundFrosche.txt | 0 2 files changed, 49 insertions(+), 49 deletions(-) rename "tests/_data/emails/files/HasenundFr\320\244sche.txt" => tests/_data/emails/files/HasenundFrosche.txt (100%) diff --git a/tests/MailMimeParser/IntegrationTests/EmailFunctionalTest.php b/tests/MailMimeParser/IntegrationTests/EmailFunctionalTest.php index 4922f149..8a3da242 100644 --- a/tests/MailMimeParser/IntegrationTests/EmailFunctionalTest.php +++ b/tests/MailMimeParser/IntegrationTests/EmailFunctionalTest.php @@ -243,7 +243,7 @@ public function testParseEmailm0001() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -262,7 +262,7 @@ public function testParseEmailm0002() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -281,7 +281,7 @@ public function testParseEmailm0003() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -300,7 +300,7 @@ public function testParseEmailm0004() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -319,7 +319,7 @@ public function testParseEmailm0005() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -338,7 +338,7 @@ public function testParseEmailm0006() 'email' => 'jblow@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -357,7 +357,7 @@ public function testParseEmailm0007() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -376,7 +376,7 @@ public function testParseEmailm0008() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -395,7 +395,7 @@ public function testParseEmailm0009() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -414,7 +414,7 @@ public function testParseEmailm0010() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'parts' => [ 'text/plain' ], @@ -694,7 +694,7 @@ public function testParseEmailm1001() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Netscape Communicator 4.7)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', ]); } @@ -710,8 +710,8 @@ public function testParseEmailm1002() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Netscape Communicator 4.7)', - 'text' => 'HasenundFrФsche.txt', - 'html' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', + 'html' => 'HasenundFrosche.txt', ]); } @@ -727,7 +727,7 @@ public function testParseEmailm1003() 'email' => 'blow@example.com' ], 'Subject' => 'Test message from Netscape Communicator 4.7', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'attachments' => 3, ]); } @@ -744,8 +744,8 @@ public function testParseEmailm1004() 'email' => 'blow@example.com' ], 'Subject' => 'Test message from Netscape Communicator 4.7', - 'text' => 'HasenundFrФsche.txt', - 'html' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', + 'html' => 'HasenundFrosche.txt', 'attachments' => 2, ]); } @@ -762,7 +762,7 @@ public function testParseEmailm1005() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Netscape Messenger 4.7)', - 'html' => 'HasenundFrФsche.txt', + 'html' => 'HasenundFrosche.txt', 'attachments' => 4, ]); } @@ -779,7 +779,7 @@ public function testParseEmailm1006() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Test message from Netscape Communicator 4.7', - 'html' => 'HasenundFrФsche.txt', + 'html' => 'HasenundFrosche.txt', 'attachments' => 4, ]); } @@ -849,7 +849,7 @@ public function testParseEmailm1010() 'email' => 'blow@example.com' ], 'Subject' => 'Test message from Netscape Communicator 4.7', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', ]); }*/ @@ -869,7 +869,7 @@ public function testParseEmailm1011() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', ]); }*/ @@ -885,7 +885,7 @@ public function testParseEmailm1012() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', ]); } @@ -940,7 +940,7 @@ public function testParseEmailm1015() fclose($handle); $stream = $message->getTextStream(1); - $this->assertTextContentTypeEquals('HasenundFrФsche.txt', $stream); + $this->assertTextContentTypeEquals('HasenundFrosche.txt', $stream); } public function testParseEmailm1016() @@ -977,7 +977,7 @@ public function testParseEmailm2001() 'email' => 'jschmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', ]); } @@ -993,8 +993,8 @@ public function testParseEmailm2002() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt', - 'html' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', + 'html' => 'HasenundFrosche.txt', ]); } @@ -1010,7 +1010,7 @@ public function testParseEmailm2003() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'html' => 'HasenundFrФsche.txt', + 'html' => 'HasenundFrosche.txt', ]); } @@ -1026,7 +1026,7 @@ public function testParseEmailm2004() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'html' => 'HasenundFrФsche.txt', + 'html' => 'HasenundFrosche.txt', 'attachments' => 2, ]); } @@ -1043,8 +1043,8 @@ public function testParseEmailm2005() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'html' => 'HasenundFrФsche.txt', - // 'text' => 'HasenundFrФsche.txt', - contains extra text at the end + 'html' => 'HasenundFrosche.txt', + // 'text' => 'HasenundFrosche.txt', - contains extra text at the end 'attachments' => 4, ]); } @@ -1061,7 +1061,7 @@ public function testParseEmailm2006() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'html' => 'HasenundFrФsche.txt', + 'html' => 'HasenundFrosche.txt', 'attachments' => 2, ]); } @@ -1078,7 +1078,7 @@ public function testParseEmailm2007() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'html' => 'HasenundFrФsche.txt', + 'html' => 'HasenundFrosche.txt', 'attachments' => 4, ]); } @@ -1095,7 +1095,7 @@ public function testParseEmailm2008() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - //'text' => 'HasenundFrФsche.txt', contains extra text at the end + //'text' => 'HasenundFrosche.txt', contains extra text at the end 'attachments' => 4, ]); } @@ -1112,7 +1112,7 @@ public function testParseEmailm2009() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'html' => 'HasenundFrФsche.txt', + 'html' => 'HasenundFrosche.txt', 'attachments' => 2, ]); } @@ -1146,7 +1146,7 @@ public function testParseEmailm2011() 'email' => 'jschmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', //'attachments' => 2, - attachments are "binhex" encoded ]); } @@ -1163,7 +1163,7 @@ public function testParseEmailm2012() 'email' => 'jschmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'attachments' => 3, ]); } @@ -1180,7 +1180,7 @@ public function testParseEmailm2013() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'attachments' => 2 ]); } @@ -1197,7 +1197,7 @@ public function testParseEmailm2014() 'email' => 'jschmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt' + 'text' => 'HasenundFrosche.txt' ]); } @@ -1213,7 +1213,7 @@ public function testParseEmailm2015() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', ]); } @@ -1261,7 +1261,7 @@ public function testParseEmailm3002() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', ]); } @@ -1411,7 +1411,7 @@ public function testParseFromStringm0001() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt' + 'text' => 'HasenundFrosche.txt' ], 'Failed to parse m0001 from a string'); } @@ -1643,7 +1643,7 @@ public function testAddHtmlPartRemoveTextPartm0001() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'html' => 'HasenundFrФsche.txt' + 'html' => 'HasenundFrosche.txt' ]; $this->runEmailTestForMessage($message, $props, 'failed adding html part and removing text part from m0001'); @@ -1727,7 +1727,7 @@ public function testAddHtmlContentPartm0001() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'html' => 'hareandtortoise.txt', ]; @@ -1845,7 +1845,7 @@ public function testAddAttachmentPartm0001() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'attachments' => 1, ]; @@ -2042,7 +2042,7 @@ public function testAddLargeAttachmentPartm0001() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'attachments' => 1, ]; @@ -2104,7 +2104,7 @@ public function testCreateSignedPartm0001() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'signed' => [ 'protocol' => 'application/pgp-signature', 'micalg' => 'pgp-sha256', @@ -2354,7 +2354,7 @@ public function testCreateSignedPartm1005() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Netscape Messenger 4.7)', - 'html' => 'HasenundFrФsche.txt', + 'html' => 'HasenundFrosche.txt', 'attachments' => 4, 'signed' => [ 'protocol' => 'application/pgp-signature', @@ -2388,7 +2388,7 @@ public function testParseEmailm4001() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'signed' => [ 'protocol' => 'application/pgp-signature', 'micalg' => 'pgp-sha256', @@ -2483,7 +2483,7 @@ public function testParseEmailm4004() 'email' => 'mueller@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Netscape Messenger 4.7)', - 'html' => 'HasenundFrФsche.txt', + 'html' => 'HasenundFrosche.txt', 'attachments' => 4, 'signed' => [ 'protocol' => 'application/pgp-signature', @@ -2683,7 +2683,7 @@ public function testParseEmailm4008() 'email' => 'schmuergen@example.com' ], 'Subject' => 'Die Hasen und die Frösche (Microsoft Outlook 00)', - 'text' => 'HasenundFrФsche.txt', + 'text' => 'HasenundFrosche.txt', 'signed' => [ 'protocol' => 'application/x-pgp-signature', 'signed-part-protocol' => 'application/pgp-signature', diff --git "a/tests/_data/emails/files/HasenundFr\320\244sche.txt" b/tests/_data/emails/files/HasenundFrosche.txt similarity index 100% rename from "tests/_data/emails/files/HasenundFr\320\244sche.txt" rename to tests/_data/emails/files/HasenundFrosche.txt