From 2f9d58676821a50749a75e871816bed232596f68 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 28 Nov 2024 22:13:47 +0000 Subject: [PATCH] Define test classes as `final` --- tests/Unit/ApiTest.php | 2 +- tests/Unit/BaseTest.php | 2 +- tests/Unit/BuildTest.php | 2 +- tests/Unit/ClientTest.php | 2 +- tests/Unit/KeyTest.php | 2 +- tests/Unit/ModTest.php | 2 +- tests/Unit/ModpackTest.php | 2 +- tests/Unit/UrlUtilsTest.php | 2 +- tests/Unit/UserTest.php | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/Unit/ApiTest.php b/tests/Unit/ApiTest.php index 5f48d2ff..7d5a9554 100644 --- a/tests/Unit/ApiTest.php +++ b/tests/Unit/ApiTest.php @@ -7,7 +7,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; -class ApiTest extends TestCase +final class ApiTest extends TestCase { use RefreshDatabase; diff --git a/tests/Unit/BaseTest.php b/tests/Unit/BaseTest.php index 236142b2..741d9ca0 100644 --- a/tests/Unit/BaseTest.php +++ b/tests/Unit/BaseTest.php @@ -7,7 +7,7 @@ use Illuminate\Support\Facades\Session; use Tests\TestCase; -class BaseTest extends TestCase +final class BaseTest extends TestCase { use RefreshDatabase; diff --git a/tests/Unit/BuildTest.php b/tests/Unit/BuildTest.php index 85172ffd..1f9a298a 100644 --- a/tests/Unit/BuildTest.php +++ b/tests/Unit/BuildTest.php @@ -8,7 +8,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; -class BuildTest extends TestCase +final class BuildTest extends TestCase { use RefreshDatabase; diff --git a/tests/Unit/ClientTest.php b/tests/Unit/ClientTest.php index 56883e28..c7447517 100644 --- a/tests/Unit/ClientTest.php +++ b/tests/Unit/ClientTest.php @@ -7,7 +7,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; -class ClientTest extends TestCase +final class ClientTest extends TestCase { use RefreshDatabase; diff --git a/tests/Unit/KeyTest.php b/tests/Unit/KeyTest.php index 9f2d27fc..e0a4d86e 100644 --- a/tests/Unit/KeyTest.php +++ b/tests/Unit/KeyTest.php @@ -7,7 +7,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; -class KeyTest extends TestCase +final class KeyTest extends TestCase { use RefreshDatabase; diff --git a/tests/Unit/ModTest.php b/tests/Unit/ModTest.php index 2e145e06..be99290a 100644 --- a/tests/Unit/ModTest.php +++ b/tests/Unit/ModTest.php @@ -7,7 +7,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; -class ModTest extends TestCase +final class ModTest extends TestCase { use RefreshDatabase; diff --git a/tests/Unit/ModpackTest.php b/tests/Unit/ModpackTest.php index 308299d5..528eac38 100644 --- a/tests/Unit/ModpackTest.php +++ b/tests/Unit/ModpackTest.php @@ -7,7 +7,7 @@ use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; -class ModpackTest extends TestCase +final class ModpackTest extends TestCase { use RefreshDatabase; diff --git a/tests/Unit/UrlUtilsTest.php b/tests/Unit/UrlUtilsTest.php index b1c594af..4a41a7c0 100644 --- a/tests/Unit/UrlUtilsTest.php +++ b/tests/Unit/UrlUtilsTest.php @@ -5,7 +5,7 @@ use App\Libraries\UrlUtils; use Tests\TestCase; -class UrlUtilsTest extends TestCase +final class UrlUtilsTest extends TestCase { public function test_get_remote_md5(): void { diff --git a/tests/Unit/UserTest.php b/tests/Unit/UserTest.php index 2a99596e..a18765b7 100644 --- a/tests/Unit/UserTest.php +++ b/tests/Unit/UserTest.php @@ -8,7 +8,7 @@ use Illuminate\Support\Facades\Hash; use Tests\TestCase; -class UserTest extends TestCase +final class UserTest extends TestCase { use RefreshDatabase;