Updating Socket test to account for differences in local machine hosts files (Ticket #2053)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4646 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-03-22 00:49:34 +00:00
parent 5e0de9b90e
commit 086a9cd97f

View file

@ -49,9 +49,9 @@ class SocketTest extends UnitTestCase {
function testSocketHost() {
$this->assertEqual($this->socket->address(), '127.0.0.1');
$this->assertEqual($this->socket->addresses(), array('127.0.0.1'));
$this->assertEqual($this->socket->host(), 'localhost');
$this->assertEqual($this->socket->lastError(), null);
$this->assertTrue(in_array('127.0.0.1', $this->socket->addresses()));
}
function testSocketWriting() {