Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f252dda

Browse files
committed
[Mailer] [Scaleway] minor fix to comply coding standards
1 parent 99bea35 commit f252dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Scaleway/Tests/Transport/ScalewayApiTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function testSend()
6565
$this->assertSame(['email' => '[email protected]', 'name' => 'Saif Eddin'], $body['to'][0]);
6666
$this->assertSame('Hello!', $body['subject']);
6767
$this->assertSame('Hello There!', $body['text']);
68-
$this->assertSame(1, count($body['attachments']));
68+
$this->assertCount(1, $body['attachments']);
6969
$this->assertSame('attachment.txt', $body['attachments'][0]['name']);
7070
$this->assertSame('text/plain', $body['attachments'][0]['type']);
7171
$this->assertSame(base64_encode('some attachment'), $body['attachments'][0]['content']);

0 commit comments

Comments
 (0)