Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zelenin committed Oct 31, 2018
1 parent 6e713b2 commit 17c502e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: php
php:
- "7.0"
- "7.1"
- "7.2"
notifications:
Expand Down
2 changes: 1 addition & 1 deletion tests/MiddlewareClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testResponse()
$response = $client->sendRequest($request);

$this->assertEquals(200, $response->getStatusCode());
$this->assertEquals(['text/html'], $response->getHeader('Content-type'));
$this->assertEquals(['text/html; charset=UTF-8'], $response->getHeader('Content-type'));
$this->assertContains('Example Domain', $response->getBody()->getContents());
}
}
2 changes: 1 addition & 1 deletion tests/Transport/CurlTransportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testTransport()
$response = $transport->sendRequest($request);

$this->assertEquals(200, $response->getStatusCode());
$this->assertEquals(['text/html'], $response->getHeader('Content-type'));
$this->assertEquals(['text/html; charset=UTF-8'], $response->getHeader('Content-type'));
$this->assertContains('Example Domain', $response->getBody()->getContents());
}
}
2 changes: 1 addition & 1 deletion tests/Transport/StreamTransportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testTransport()
$response = $transport->sendRequest($request);

$this->assertEquals(200, $response->getStatusCode());
$this->assertEquals(['text/html'], $response->getHeader('Content-type'));
$this->assertEquals(['text/html; charset=UTF-8'], $response->getHeader('Content-type'));
$this->assertContains('Example Domain', $response->getBody()->getContents());
}
}

0 comments on commit 17c502e

Please sign in to comment.