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 f909a42 commit 153eef7
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/CompileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Laravel\Envoy\Compiler;
use Laravel\Envoy\TaskContainer;

class CompileTest extends UnitTest
class CompileTest extends TestCase
{
public function testEnvoyConfigurationCanBeCompiled()
{
Expand Down
2 changes: 0 additions & 2 deletions tests/Unit/ConfigDeployTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
namespace Exolnet\Envoy\Tests\Unit;

use Exolnet\Envoy\ConfigDeploy;
use Mockery as m;
use PHPUnit\Framework\TestCase;

class ConfigDeployTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ConfigEnvironmentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Generator;
use Mockery as m;

class ConfigEnvironmentTest extends UnitTest
class ConfigEnvironmentTest extends TestCase
{
/**
* @var array
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Exolnet\Envoy\Tests\Unit;

use Exolnet\Envoy\ConfigDeploy;
use PHPUnit\Framework\TestCase;

class ConfigTest extends TestCase
{
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/SlackTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use GuzzleHttp\Psr7\Response;
use InvalidArgumentException;
use Mockery as m;
use PHPUnit\Framework\TestCase;

class SlackTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/UnitTest.php → tests/Unit/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Exolnet\Envoy\Tests\Unit;

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

abstract class UnitTest extends TestCase
abstract class TestCase extends BaseTestCase
{
/**
* @return string
Expand Down

0 comments on commit 153eef7

Please sign in to comment.