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

Skip to content

Commit 60c4191

Browse files
committed
Update transport test to match API docs
1 parent 5dfd805 commit 60c4191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Mailchimp/Tests/Transport/MandrillApiTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function testCustomHeader()
6565
$this->assertArrayHasKey('message', $payload);
6666
$this->assertArrayHasKey('headers', $payload['message']);
6767
$this->assertCount(1, $payload['message']['headers']);
68-
$this->assertEquals('foo: bar', $payload['message']['headers'][0]);
68+
$this->assertEquals('bar', $payload['message']['headers']['foo']);
6969
}
7070

7171
public function testSend()

0 commit comments

Comments
 (0)