Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b541ffd commit c7a09d5Copy full SHA for c7a09d5
src/Symfony/Component/Mime/Tests/Header/HeadersTest.php
@@ -247,14 +247,14 @@ public function testToArray()
247
public function testInReplyToAcceptsNonIdentifierValues()
248
{
249
$headers = new Headers();
250
- $headers->addHeader('In-Reply-To', 'foobar');
+ $headers->addTextHeader('In-Reply-To', 'foobar');
251
$this->assertEquals('foobar', $headers->get('In-Reply-To')->getBody());
252
}
253
254
public function testReferencesAcceptsNonIdentifierValues()
255
256
257
- $headers->addHeader('References' , 'foobar');
+ $headers->addTextHeader('References', 'foobar');
258
$this->assertEquals('foobar', $headers->get('References')->getBody());
259
260
0 commit comments