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

Commit 44782da

Browse files
committed
#27 corrected test naming to match the scenario being tested
1 parent c3514bd commit 44782da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ public function testCustomHttpClientUserAgentIsNotOverridden()
603603
$this->assertSame($expectedUserAgent, $this->httpClient->getHeader('user-agent'));
604604
}
605605

606-
public function testContentTypeAutomaticallySet()
606+
public function testContentTypeIsNotReplaced()
607607
{
608608
$this->assertFalse(
609609
$this->httpClient->getHeader('Content-Type'),
@@ -618,7 +618,7 @@ public function testContentTypeAutomaticallySet()
618618
$this->assertSame($expectedContentType, $this->httpClient->getHeader('Content-Type'));
619619
}
620620

621-
public function testAcceptAutomaticallySet()
621+
public function testAcceptIsNotReplaced()
622622
{
623623
$this->assertFalse(
624624
$this->httpClient->getHeader('Accept'),

0 commit comments

Comments
 (0)