1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-02 10:23:29 +02:00

Added option to PsrResponseCommandTest

This commit is contained in:
Oliver Vogel
2019-05-31 12:40:07 +02:00
parent 09ad3953df
commit 2bd42c557c

View File

@@ -45,10 +45,10 @@ class PsrResponseCommandTest extends TestCase
$this->assertTrue($output->hasHeader('Content-Type'));
$this->assertTrue($output->hasHeader('Content-Length'));
$this->assertEquals(
"application/xml",
$output->getHeaderLine('Content-Type')
);
$this->assertTrue(in_array($output->getHeaderLine('Content-Type'), [
'application/xml',
'text/xml',
]))
$this->assertEquals(
strlen($encodedContent),