From 1df671893d111de6d63de3249e5f7040d9ad173e Mon Sep 17 00:00:00 2001 From: Alexandre D'Eschambeault Date: Tue, 26 Mar 2024 11:14:42 -0400 Subject: [PATCH] test: abstract classes with the Test suffix are deprecated --- tests/Unit/Model/NodeUnorderedTest.php | 4 ++-- tests/Unit/{UnitTest.php => UnitTestCase.php} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename tests/Unit/{UnitTest.php => UnitTestCase.php} (79%) diff --git a/tests/Unit/Model/NodeUnorderedTest.php b/tests/Unit/Model/NodeUnorderedTest.php index 74447d1..19c7b68 100644 --- a/tests/Unit/Model/NodeUnorderedTest.php +++ b/tests/Unit/Model/NodeUnorderedTest.php @@ -4,9 +4,9 @@ use Exolnet\ClosureTable\Models\NodeUnordered; use Exolnet\ClosureTable\Tests\Mocks\NodeMock; -use Exolnet\ClosureTable\Tests\Unit\UnitTest; +use Exolnet\ClosureTable\Tests\Unit\UnitTestCase; -class NodeUnorderedTest extends UnitTest +class NodeUnorderedTest extends UnitTestCase { /** * @var \Exolnet\ClosureTable\Tests\Mocks\NodeMock 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 785f207..767a19d 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 {