Skip to content

Commit 19dc1f0

Browse files
committed
- added functional test for getVersion
- updated ChangeLog
1 parent 40ef6fb commit 19dc1f0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file based on the
1111
### Added
1212
- Elastica\QueryBuilder\DSL\Query::geo_distance
1313
- Elastica\Aggregation\GeoCentroid [#1150](https://github.com/ruflin/Elastica/pull/1150)
14+
- Elastica\Client::getVersion [#1152](https://github.com/ruflin/Elastica/pull/1152)
1415

1516
### Improvements
1617
- Set PHP 7.0 as default development version

test/lib/Elastica/Test/ClientTest.php

+9
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ public function testConstruct()
2323
$this->assertCount(1, $client->getConnections());
2424
}
2525

26+
/**
27+
* @group functional
28+
*/
29+
public function testGetVersion()
30+
{
31+
$client = $this->_getClient();
32+
$this->assertNotEmpty($client->getVersion());
33+
}
34+
2635
/**
2736
* @group functional
2837
*/

0 commit comments

Comments
 (0)