Fix tests.

This commit is contained in:
mark_story 2019-01-16 21:53:42 -05:00
parent bcbe5fdcf0
commit a13abcf97b

View file

@ -701,7 +701,7 @@ class HttpSocketTest extends CakeTestCase {
); );
$http = $this->getMock('TestHttpSocket', array('read', 'write', 'connect', 'request'), array($request)); $http = $this->getMock('TestHttpSocket', array('read', 'write', 'connect', 'request'), array($request));
$expected = array('method' => 'GET', 'uri' => '/_test'); $expected = array('method' => 'GET', 'uri' => 'http://localhost:5984/_test');
$http->expects($this->at(0))->method('request')->with($expected); $http->expects($this->at(0))->method('request')->with($expected);
$http->get('/_test'); $http->get('/_test');