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 b653b67 commit 512e308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Transport/TransportFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

namespace Exolnet\Graylog\Tests\Unit\Transport;

use Exolnet\Graylog\Tests\Unit\UnitTestCase;
use Exolnet\Graylog\Transport\TransportFactory;
use Gelf\Transport\HttpTransport;
use Gelf\Transport\KeepAliveRetryTransportWrapper;
use Gelf\Transport\TcpTransport;
use Gelf\Transport\UdpTransport;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;

/**
* @covers \Exolnet\Graylog\Transport\TransportFactory
*/
class TransportFactoryTest extends TestCase
class TransportFactoryTest extends UnitTestCase
{
/**
* @var \Exolnet\Graylog\Transport\TransportFactory
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/UnitTest.php → tests/Unit/UnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Mockery;
use PHPUnit\Framework\TestCase;

abstract class UnitTest extends TestCase
abstract class UnitTestCase extends TestCase
{
public function tearDown(): void
{
Expand Down

0 comments on commit 512e308

Please # to comment.