mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
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:
parent
5e0de9b90e
commit
086a9cd97f
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue