Skip to content

Commit

Permalink
Merge pull request #946 from olivervogel/master
Browse files Browse the repository at this point in the history
Added PHP versions to CI
  • Loading branch information
olivervogel committed May 31, 2019
2 parents bd26959 + 5d59c52 commit d265e93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -10,6 +10,8 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
- hhvm

Expand Down
8 changes: 4 additions & 4 deletions tests/PsrResponseCommandTest.php
Expand Up @@ -45,10 +45,10 @@ public function testResponseCreationAndHeaders()
$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),
Expand Down

0 comments on commit d265e93

Please sign in to comment.