Skip to content

Commit

Permalink
Fix up test for cookies.
Browse files Browse the repository at this point in the history
Cookies no longer get pushed into the adapter as an array. Instead
they come in as a request header.
  • Loading branch information
markstory committed Mar 30, 2017
1 parent b5806c9 commit 603f2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Http/ClientTest.php
Expand Up @@ -177,7 +177,7 @@ public function testGetSimpleWithHeadersAndCookies()
$this->assertInstanceOf('Cake\Http\Client\Request', $request);
$this->assertEquals(Request::METHOD_GET, $request->getMethod());
$this->assertEquals('http://cakephp.org/test.html', $request->getUri() . '');
$this->assertEquals($cookies, $request->cookies());
$this->assertEquals('split=value', $request->getHeaderLine('Cookie'));
$this->assertEquals($headers['Content-Type'], $request->getHeaderLine('content-type'));
$this->assertEquals($headers['Connection'], $request->getHeaderLine('connection'));

Expand Down

0 comments on commit 603f2ac

Please sign in to comment.