From c2ce9a30c7c97bd2f1b3de4a64b52e3474aeb8e6 Mon Sep 17 00:00:00 2001 From: Alexandre D'Eschambeault Date: Tue, 26 Mar 2024 10:49:38 -0400 Subject: [PATCH] test: abstract classes with the Test suffix are deprecated --- tests/Unit/ExampleTest.php | 2 +- tests/Unit/{UnitTest.php => UnitTestCase.php} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/Unit/{UnitTest.php => UnitTestCase.php} (79%) diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php index 88b5782..40f6eae 100644 --- a/tests/Unit/ExampleTest.php +++ b/tests/Unit/ExampleTest.php @@ -2,7 +2,7 @@ namespace Exolnet\Translation\Tests\Unit; -class ExampleTest extends UnitTest +class ExampleTest extends UnitTestCase { public function testBasic() { diff --git a/tests/Unit/UnitTest.php b/tests/Unit/UnitTestCase.php similarity index 79% rename from tests/Unit/UnitTest.php rename to tests/Unit/UnitTestCase.php index 65c1dbc..68f92dc 100644 --- a/tests/Unit/UnitTest.php +++ b/tests/Unit/UnitTestCase.php @@ -5,7 +5,7 @@ use Mockery; use PHPUnit\Framework\TestCase; -abstract class UnitTest extends TestCase +abstract class UnitTestCase extends TestCase { public function tearDown(): void {