1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-22 13:32:56 +02:00

Merge pull request #946 from olivervogel/master

Added PHP versions to CI
This commit is contained in:
Oliver Vogel
2019-05-31 12:48:35 +02:00
committed by GitHub
2 changed files with 6 additions and 4 deletions

View File

@@ -10,6 +10,8 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
- hhvm

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),