From 9097b251112c861d50a455aa57c3a3fe9f4faa64 Mon Sep 17 00:00:00 2001 From: the_undefined Date: Mon, 5 May 2008 12:38:33 +0000 Subject: [PATCH] Fixed failing HttpSocket tests git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6751 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/http_socket.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/http_socket.test.php b/cake/tests/cases/libs/http_socket.test.php index 22ef842c0..ec4062f9e 100644 --- a/cake/tests/cases/libs/http_socket.test.php +++ b/cake/tests/cases/libs/http_socket.test.php @@ -392,7 +392,7 @@ class HttpSocketTest extends UnitTestCase { $this->Socket->reset(); $serverResponse = "HTTP/1.x 200 OK\r\nSet-Cookie: foo=bar\r\nDate: Mon, 16 Apr 2007 04:14:16 GMT\r\nServer: CakeHttp Server\r\nContent-Type: text/html\r\n\r\n

This is a cookie test!

"; - unset($this->Socket->_mock->_return_sequence['read']); + unset($this->Socket->_mock->_actions->_at['read']); $this->Socket->_mock->_call_counts['read'] = 0; $this->Socket->setReturnValueAt(0, 'read', $serverResponse); $this->Socket->connected = true;