diff --git a/tests/Elasticsearch/Tests/ClientTest.php b/tests/Elasticsearch/Tests/ClientTest.php index 4c1319935..9af9327ae 100644 --- a/tests/Elasticsearch/Tests/ClientTest.php +++ b/tests/Elasticsearch/Tests/ClientTest.php @@ -107,7 +107,7 @@ public function testConstructorEmptyPort() 'hosts' => array('localhost:'), 'dic' => function ($hosts, $params) use ($mockDIC, $that) { - $expected = array(array('host' => 'localhost', 'port' => 80)); + $expected = array(array('host' => 'localhost', 'port' => 9200)); $that->assertEquals($expected, $hosts); return $mockDIC; } @@ -127,7 +127,7 @@ public function testConstructorNoPort() 'hosts' => array('localhost'), 'dic' => function ($hosts, $params) use ($mockDIC, $that) { - $expected = array(array('host' => 'localhost', 'port' => 80)); + $expected = array(array('host' => 'localhost', 'port' => 9200)); $that->assertEquals($expected, $hosts); return $mockDIC; }