Skip to content

Commit

Permalink
test: abstract classes with the Test suffix are deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
xel1045 committed Mar 26, 2024
1 parent 86baee9 commit 00a6479
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/UnitTest.php → tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Exolnet\Instruments\Tests;

use Mockery;
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\TestCase as BaseTestCase;

abstract class UnitTest extends TestCase
abstract class TestCase extends BaseTestCase
{
public function tearDown(): void
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/StatsdDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Exolnet\Instruments\Tests\Unit;

use Exolnet\Instruments\Drivers\StatsdDriver;
use Exolnet\Instruments\Tests\UnitTest;
use Exolnet\Instruments\Tests\TestCase;
use League\StatsD\Client;
use Mockery as m;

class StatsdDriverTest extends UnitTest
class StatsdDriverTest extends TestCase
{
/**
* @var \Mockery\MockInterface|\League\StatsD\Client
Expand Down

0 comments on commit 00a6479

Please sign in to comment.