Skip to content

Commit

Permalink
[Mime] Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Dec 25, 2021
1 parent 5339e38 commit 5f69e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/Mime/Tests/Header/HeadersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,14 @@ public function testToArray()
public function testInReplyToAcceptsNonIdentifierValues()
{
$headers = new Headers();
$headers->addHeader('In-Reply-To', 'foobar');
$headers->addTextHeader('In-Reply-To', 'foobar');
$this->assertEquals('foobar', $headers->get('In-Reply-To')->getBody());
}

public function testReferencesAcceptsNonIdentifierValues()
{
$headers = new Headers();
$headers->addHeader('References' , 'foobar');
$headers->addTextHeader('References' , 'foobar');
$this->assertEquals('foobar', $headers->get('References')->getBody());
}
}

0 comments on commit 5f69e86

Please sign in to comment.