mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix tests.
This commit is contained in:
parent
bcbe5fdcf0
commit
a13abcf97b
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue