10000 Remove failing test · symfony/symfony@e54dd38 · GitHub
[go: up one dir, main page]

Skip to content

Commit e54dd38

Browse files
committed
Remove failing test
1 parent 523ba82 commit e54dd38

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

src/Symfony/Component/Mailer/Bridge/Infobip/Tests/Transport/InfobipApiTransportTest.php

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -316,46 +316,6 @@ public function testSendFullEmailWithSuccess()
316316
$this->assertEquals([new Address('bcc@example.com')], $sentMessage->getOriginalMessage()->getBcc());
317317
}
318318

319-
public function testSendEmailWithAttachmentsWithSuccess()
320-
{
321-
$email = $this->basicValidEmail()
322-
->text('foobar')
323-
->attach('some attachment', 'attachment.txt', 'text/plain')
324-
->embed('some inline attachment', 'inline.txt', 'text/plain')
325-
;
326-
327-
$sentMessage = $this->transport->send($email);
328-
329-
$this->assertInstanceOf(SentMessage::class, $sentMessage);
330-
$this->assertStringMatchesFormat(
331-
<<<'TXT'
332-
%a
333-
Content-Type: multipart/mixed; boundary=%s
334-
335-
--%s
336-
Content-Type: text/plain; charset=utf-8
337-
Content-Transfer-Encoding: quoted-printable
338-
339-
foobar
340-
--%s
341-
Content-Type: text/plain; name=attachment.txt
342-
Content-Transfer-Encoding: base64
343-
Content-Disposition: attachment; name=attachment.txt;
344-
filename=attachment.txt
345-
346-
c29tZSBhdHRhY2htZW50
347-
--%s
348-
Content-Type: text/plain; name=inline.txt
349-
Content-Transfer-Encoding: base64
350-
Content-Disposition: inline; name=inline.txt; filename=inline.txt
351-
352-
c29tZSBpbmxpbmUgYXR0YWNobWVudA==
353-
--%s--
354-
TXT,
355-
$sentMessage->toString()
356-
);
357-
}
358-
359319
public function testSentMessageShouldCaptureInfobipMessageId()
360320
{
361321
$this->response = new MockResponse('{"messages": [{"messageId": "somexternalMessageId0"}]}');

0 commit comments

Comments
 (0)
0