File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ private function generateSomeParts(): array
477477 public function testAttachments ()
478478 {
479479 // inline part
480- $ contents = file_get_contents ($ name = __DIR__ .'/Fixtures/mimetypes/test ' , ' r ' );
480+ $ contents = file_get_contents ($ name = __DIR__ .'/Fixtures/mimetypes/test ' );
481481 $ att = new DataPart ($ file = fopen ($ name , 'r ' ), 'test ' );
482482 $ inline = (new DataPart ($ contents , 'test ' ))->asInline ();
483483 $ e = new Email ();
@@ -618,7 +618,7 @@ public function testHtmlBodyAcceptedTypes()
618618 $ email ->html (null );
619619 $ this ->assertNull ($ email ->getHtmlBody ());
620620
621- $ contents = file_get_contents (__DIR__ .'/Fixtures/mimetypes/test ' , ' r ' );
621+ $ contents = file_get_contents (__DIR__ .'/Fixtures/mimetypes/test ' );
622622 $ email ->html ($ contents );
623623 $ this ->assertSame ($ contents , $ email ->getHtmlBody ());
624624 }
@@ -641,7 +641,7 @@ public function testTextBodyAcceptedTypes()
641641 $ email ->text (null );
642642 $ this ->assertNull ($ email ->getTextBody ());
643643
644- $ contents = file_get_contents (__DIR__ .'/Fixtures/mimetypes/test ' , ' r ' );
644+ $ contents = file_get_contents (__DIR__ .'/Fixtures/mimetypes/test ' );
645645 $ email ->text ($ contents );
646646 $ this ->assertSame ($ contents , $ email ->getTextBody ());
647647 }
You can’t perform that action at this time.
0 commit comments