From 2bd42c557cd691cc432284488b083878cc081031 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Fri, 31 May 2019 12:40:07 +0200 Subject: [PATCH] Added option to PsrResponseCommandTest --- tests/PsrResponseCommandTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/PsrResponseCommandTest.php b/tests/PsrResponseCommandTest.php index 230d266f..84cbdfb5 100644 --- a/tests/PsrResponseCommandTest.php +++ b/tests/PsrResponseCommandTest.php @@ -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),