1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-22 21:42:53 +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 - 5.6
- 7.0 - 7.0
- 7.1 - 7.1
- 7.2
- 7.3
- nightly - nightly
- hhvm - hhvm

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