Skip to content

Commit

Permalink
[TEST] use proper TestCase parent clsas
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Nov 14, 2017
1 parent 946cd65 commit 766b440
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/Elasticsearch/Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
* @link http://elasticsearch.org
*/
class ClientTest extends \PHPUnit_Framework_TestCase
class ClientTest extends \PHPUnit\Framework\TestCase
{
public function tearDown()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
* @link http://elasticsearch.org
*/
class RoundRobinSelectorTest extends \PHPUnit_Framework_TestCase
class RoundRobinSelectorTest extends \PHPUnit\Framework\TestCase
{
/**
* Add Ten connections, select 15 to verify round robin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
* @link http://elasticsearch.org
*/
class StickyRoundRobinSelectorTest extends \PHPUnit_Framework_TestCase
class StickyRoundRobinSelectorTest extends \PHPUnit\Framework\TestCase
{
public function tearDown()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Elasticsearch\Endpoints\AbstractEndpoint;

class AbstractEndpointTest extends \PHPUnit_Framework_TestCase
class AbstractEndpointTest extends \PHPUnit\Framework\TestCase
{
private $endpoint;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
* @link http://Elasticsearch.org
*/
class SearchResponseIteratorTest extends \PHPUnit_Framework_TestCase
class SearchResponseIteratorTest extends \PHPUnit\Framework\TestCase
{

public function tearDown()
Expand Down
2 changes: 1 addition & 1 deletion tests/Elasticsearch/Tests/RegisteredNamespaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
* @link http://elasticsearch.org
*/
class RegisteredNamespaceTest extends \PHPUnit_Framework_TestCase
class RegisteredNamespaceTest extends \PHPUnit\Framework\TestCase
{
public function tearDown()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Class ArrayToJSONSerializerTest
* @package Elasticsearch\Tests\Serializers
*/
class ArrayToJSONSerializerTest extends PHPUnit_Framework_TestCase
class ArrayToJSONSerializerTest extends \PHPUnit\Framework\TestCase
{
public function tearDown()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Class EverythingToJSONSerializerTest
* @package Elasticsearch\Tests\Serializers
*/
class EverythingToJSONSerializerTest extends PHPUnit_Framework_TestCase
class EverythingToJSONSerializerTest extends \PHPUnit\Framework\TestCase
{
public function tearDown()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/Elasticsearch/Tests/YamlRunnerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use Elasticsearch\Common\Exceptions\RequestTimeout408Exception;
use Elasticsearch\Common\Exceptions\ServerErrorResponseException;
use Elasticsearch\Common\Exceptions\RoutingMissingException;
use Elasticsearch\Common\Exceptions\Unauthorized401Exception;
use GuzzleHttp\Ring\Future\FutureArrayInterface;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
Expand All @@ -31,7 +32,7 @@
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
* @link http://elasticsearch.org
*/
class YamlRunnerTest extends \PHPUnit_Framework_TestCase
class YamlRunnerTest extends \PHPUnit\Framework\TestCase
{
/** @var \Symfony\Component\Yaml\Yaml Yaml parser for reading integrations tests */
private $yaml;
Expand Down

0 comments on commit 766b440

Please sign in to comment.