Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d329461

Browse filesBrowse files
author
Stuart Fyfe
committed
Renamed the test and added a comment to make it clear what we're testing
1 parent 5a4dec5 commit d329461
Copy full SHA for d329461

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Http/Api/SendgridTransportTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Http/Api/SendgridTransportTest.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,12 @@ public function testSend()
5959
$mailer->send($email);
6060
}
6161

62-
public function testAttachmentEncoding()
62+
public function testLineBreaksInEncodedAttachment()
6363
{
6464
$email = new Email();
6565
$email->from('foo@example.com')
6666
->to('bar@example.com')
67+
// even it content doesn't include new lines, the Base64 encoding performed later may add them
6768
->attach('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod', 'lorem.txt');
6869

6970
$response = $this->createMock(ResponseInterface::class);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.