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 cbcc7ca commit 9f715a9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Channels/DiskChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

use Carbon\Carbon;
use Exolnet\Heartbeat\Channels\DiskChannel;
use Exolnet\Heartbeat\Tests\Unit\UnitTest;
use Exolnet\Heartbeat\Tests\Unit\UnitTestCase;
use Illuminate\Contracts\Filesystem\Factory as Filesystem;
use Mockery as m;

class DiskChannelTest extends UnitTest
class DiskChannelTest extends UnitTestCase
{
/**
* @var \Mockery\MockInterface|\Illuminate\Contracts\Filesystem\Factory
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Channels/FileChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

use Carbon\Carbon;
use Exolnet\Heartbeat\Channels\FileChannel;
use Exolnet\Heartbeat\Tests\Unit\UnitTest;
use Exolnet\Heartbeat\Tests\Unit\UnitTestCase;
use Illuminate\Filesystem\Filesystem;
use Mockery as m;

class FileChannelTest extends UnitTest
class FileChannelTest extends UnitTestCase
{
/**
* @var \Mockery\MockInterface|\Illuminate\Filesystem\Filesystem
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Channels/HttpChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
namespace Exolnet\Heartbeat\Tests\Unit\Channels;

use Exolnet\Heartbeat\Channels\HttpChannel;
use Exolnet\Heartbeat\Tests\Unit\UnitTest;
use Exolnet\Heartbeat\Tests\Unit\UnitTestCase;
use GuzzleHttp\Client as HttpClient;
use Mockery as m;

class HttpChannelTest extends UnitTest
class HttpChannelTest extends UnitTestCase
{
/**
* @var \Mockery\MockInterface|\Illuminate\Filesystem\Filesystem
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Channels/PresetChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
namespace Exolnet\Heartbeat\Tests\Unit\Channels;

use Exolnet\Heartbeat\Channels\PresetChannel;
use Exolnet\Heartbeat\Tests\Unit\UnitTest;
use Exolnet\Heartbeat\Tests\Unit\UnitTestCase;
use Illuminate\Container\Container;
use Illuminate\Contracts\Config\Repository;
use InvalidArgumentException;
use Mockery as m;

class PresetChannelTest extends UnitTest
class PresetChannelTest extends UnitTestCase
{
/**
* @var \Mockery\MockInterface
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 @@ -6,7 +6,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 9f715a9

Please sign in to comment.