1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-03 10:53:01 +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-Type'));
$this->assertTrue($output->hasHeader('Content-Length')); $this->assertTrue($output->hasHeader('Content-Length'));
$this->assertEquals( $this->assertTrue(in_array($output->getHeaderLine('Content-Type'), [
"application/xml", 'application/xml',
$output->getHeaderLine('Content-Type') 'text/xml',
); ]))
$this->assertEquals( $this->assertEquals(
strlen($encodedContent), strlen($encodedContent),