From e638eb0ae693f28bdce29c0dabc5d5f97faaf7c1 Mon Sep 17 00:00:00 2001 From: Zachary Tong Date: Thu, 27 Feb 2014 17:43:44 -0500 Subject: [PATCH] Update port in unit tests --- tests/Elasticsearch/Tests/ClientTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }