Skip to content

Commit

Permalink
Update port in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Feb 27, 2014
1 parent 3885e9b commit e638eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Elasticsearch/Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit e638eb0

Please sign in to comment.