Skip to content

Commit b8646f9

Browse files
committed
Go green again.
Resolution: I should really stop working when I'm tired.
1 parent 263a0a0 commit b8646f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/Bitbucket/Tests/API/Http/ClientTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ public function testShouldDoPostRequestWithContentAndReturnResponseInstance()
9191

9292
$this->assertInstanceOf('\Buzz\Message\MessageInterface', $response);
9393
$this->assertEquals('1=2', $client->getLastRequest()->getContent());
94-
$this->assertEquals( array('User-Agent: tests', '4'), $client->getLastRequest()->getHeaders() );
94+
$this->assertEquals(
95+
array('User-Agent: tests', '4', 'Content-Type: application/x-www-form-urlencoded'),
96+
$client->getLastRequest()->getHeaders()
97+
);
9598
}
9699

97100
public function testShouldDoPutRequestAndReturnResponseInstance()

0 commit comments

Comments
 (0)