Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
#27 corrected test naming to match the scenario being tested
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Aug 11, 2017
1 parent e6bf659 commit 548494d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ public function testCustomHttpClientUserAgentIsNotOverridden()
$this->assertSame($expectedUserAgent, $this->httpClient->getHeader('user-agent'));
}

public function testContentTypeAutomaticallySet()
public function testContentTypeIsNotReplaced()
{
$this->assertFalse(
$this->httpClient->getHeader('Content-Type'),
Expand All @@ -618,7 +618,7 @@ public function testContentTypeAutomaticallySet()
$this->assertSame($expectedContentType, $this->httpClient->getHeader('Content-Type'));
}

public function testAcceptAutomaticallySet()
public function testAcceptIsNotReplaced()
{
$this->assertFalse(
$this->httpClient->getHeader('Accept'),
Expand Down

0 comments on commit 548494d

Please sign in to comment.