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:
@@ -10,6 +10,8 @@ php:
|
||||
- 5.6
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
- 7.3
|
||||
- nightly
|
||||
- hhvm
|
||||
|
||||
|
@@ -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