Skip to content

Commit

Permalink
[TEST] Fix some PHPCS violations in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Nov 14, 2017
1 parent 24900ef commit 18a38dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
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 SniffingConnectionPoolIntegrationTest extends \PHPUnit_Framework_TestCase
class SniffingConnectionPoolIntegrationTest extends \PHPUnit\Framework\TestCase
{
public function testSniff()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

declare(strict_types = 1);

namespace Elasticsearch\Tests\ConnectionPool;

/**
* Class StaticConnectionPoolIntegrationTest
*
Expand All @@ -12,7 +14,7 @@
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
* @link http://elasticsearch.org
*/
class StaticConnectionPoolIntegrationTest extends \PHPUnit_Framework_TestCase
class StaticConnectionPoolIntegrationTest extends \PHPUnit\Framework\TestCase
{
// Issue #636
public function test404Liveness()
Expand All @@ -33,4 +35,4 @@ public function test404Liveness()
// But the node should be marked as alive since the server responded
$this->assertTrue($connection->isAlive());
}
}
}

0 comments on commit 18a38dd

Please sign in to comment.