Skip to content

Commit

Permalink
Merge pull request #14766 from cakephp/fix-ga-socket
Browse files Browse the repository at this point in the history
Fix Socket::addresses() test to allow for more than one IP
  • Loading branch information
markstory committed Jul 4, 2020
2 parents 6ea9058 + 564d9cd commit 905f22c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/Network/SocketTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function testHost()
public function testAddresses()
{
$this->Socket = new Socket();
$this->assertSame(['127.0.0.1'], $this->Socket->addresses());
$this->assertContainsEquals('127.0.0.1', $this->Socket->addresses());

$this->Socket = new Socket(['host' => '8.8.8.8']);
$this->assertSame(['8.8.8.8'], $this->Socket->addresses());
Expand Down

0 comments on commit 905f22c

Please sign in to comment.