Skip to content

Commit 29552c7

Browse files
committed
tests: renamed files -> fixtures
1 parent d5fd390 commit 29552c7

9 files changed

+10
-10
lines changed

tests/Mail/Mail.attachment.eml.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require __DIR__ . '/Mail.php';
1818
$mailer = new TestMailer;
1919

2020
$mail = new Message;
21-
$mail->addAttachment(__DIR__ . '/files/example.eml', null, 'MESSAGE/RFC822');
21+
$mail->addAttachment(__DIR__ . '/fixtures/example.eml', null, 'MESSAGE/RFC822');
2222
$mailer->send($mail);
2323

2424
Assert::match(<<<'EOD'

tests/Mail/Mail.attachment.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require __DIR__ . '/Mail.php';
1818
$mailer = new TestMailer;
1919

2020
$mail = new Message;
21-
$mail->addAttachment(__DIR__ . '/files/example.zip', null, 'application/zip');
21+
$mail->addAttachment(__DIR__ . '/fixtures/example.zip', null, 'application/zip');
2222
$mailer->send($mail);
2323

2424
Assert::match(<<<'EOD'
@@ -49,7 +49,7 @@ EOD
4949

5050

5151
$mail = new Message;
52-
$mail->addAttachment(__DIR__ . '/files/example.zip', null, 'application/zip')
52+
$mail->addAttachment(__DIR__ . '/fixtures/example.zip', null, 'application/zip')
5353
->setEncoding(Message::ENCODING_QUOTED_PRINTABLE);
5454
$mailer->send($mail);
5555

@@ -79,7 +79,7 @@ EOD
7979

8080
$mail = new Message;
8181
$name = iconv('UTF-8', 'WINDOWS-1250', 'žluťoučký.zip');
82-
$mail->addAttachment($name, file_get_contents(__DIR__ . '/files/example.zip'), 'application/zip');
82+
$mail->addAttachment($name, file_get_contents(__DIR__ . '/fixtures/example.zip'), 'application/zip');
8383
$mailer->send($mail);
8484

8585
Assert::match(<<<'EOD'

tests/Mail/Mail.textualAndHtmlBody.attachment.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $mail->setBody('Sample text');
2525

2626
$mail->setHTMLBody('<b>Sample text</b>');
2727

28-
$mail->addAttachment(__DIR__ . '/files/example.zip', null, 'application/zip');
28+
$mail->addAttachment(__DIR__ . '/fixtures/example.zip', null, 'application/zip');
2929

3030
$mailer = new TestMailer;
3131
$mailer->send($mail);

tests/Mail/Mail.textualAndHtmlBody.embedded.attachment.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ $mail->setSubject('Hello Jane!');
2424

2525
$mail->setBody('Sample text');
2626

27-
$mail->setHTMLBody('<b>Sample text</b> <img src="background.png">', __DIR__ . '/files');
27+
$mail->setHTMLBody('<b>Sample text</b> <img src="background.png">', __DIR__ . '/fixtures');
2828
// append automatically $mail->addEmbeddedFile('files/background.png');
2929

30-
$mail->addAttachment('files/example.zip');
30+
$mail->addAttachment('fixtures/example.zip');
3131

3232
$mailer = new TestMailer;
3333
$mailer->send($mail);

tests/Mail/Mail.textualAndHtmlBody.embedded.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $mail->setHTMLBody('
3030
<div title=a style="background:url(background.png)">
3131
<style type=text/css>body { background: url(\'background.png\') } </style>
3232
[[background.png]]
33-
', __DIR__ . '/files');
33+
', __DIR__ . '/fixtures');
3434
// append automatically $mail->addEmbeddedFile('files/background.png');
3535

3636
$mailer = new TestMailer;
@@ -47,7 +47,7 @@ $mail->setHTMLBody("
4747
<div title=\"background:url(background.png)\">
4848
<style></style> background: url(\'background.png\');
4949
[[backgroun%64.png]]
50-
", __DIR__ . '/files');
50+
", __DIR__ . '/fixtures');
5151

5252
$mailer = new TestMailer;
5353
$mailer->send($mail);

tests/Mail/Mail.textualBody.attachment.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $mail->setSubject('Hello Jane!');
2323

2424
$mail->setBody('Sample text');
2525

26-
$mail->addAttachment(__DIR__ . '/files/example.zip', null, 'application/zip');
26+
$mail->addAttachment(__DIR__ . '/fixtures/example.zip', null, 'application/zip');
2727

2828
$mailer = new TestMailer;
2929
$mailer->send($mail);
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)