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:
@@ -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),
|
||||
|
Reference in New Issue
Block a user