Skip to content

Commit

Permalink
Define test classes as final
Browse files Browse the repository at this point in the history
  • Loading branch information
laravel-shift committed Apr 22, 2023
1 parent 25eb64d commit f8b1c8a
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/ApiTokenPermissionsTest.php
Expand Up @@ -8,7 +8,7 @@
use Laravel\Jetstream\Features;
use Tests\TestCase;

class ApiTokenPermissionsTest extends TestCase
final class ApiTokenPermissionsTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/AuthenticationTest.php
Expand Up @@ -7,7 +7,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class AuthenticationTest extends TestCase
final class AuthenticationTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/BrowserSessionsTest.php
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class BrowserSessionsTest extends TestCase
final class BrowserSessionsTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/CreateApiTokenTest.php
Expand Up @@ -7,7 +7,7 @@
use Laravel\Jetstream\Features;
use Tests\TestCase;

class CreateApiTokenTest extends TestCase
final class CreateApiTokenTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/CreateTeamTest.php
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class CreateTeamTest extends TestCase
final class CreateTeamTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/DeleteAccountTest.php
Expand Up @@ -7,7 +7,7 @@
use Laravel\Jetstream\Features;
use Tests\TestCase;

class DeleteAccountTest extends TestCase
final class DeleteAccountTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/DeleteApiTokenTest.php
Expand Up @@ -8,7 +8,7 @@
use Laravel\Jetstream\Features;
use Tests\TestCase;

class DeleteApiTokenTest extends TestCase
final class DeleteApiTokenTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/DeleteTeamTest.php
Expand Up @@ -7,7 +7,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class DeleteTeamTest extends TestCase
final class DeleteTeamTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/EmailVerificationTest.php
Expand Up @@ -11,7 +11,7 @@
use Laravel\Fortify\Features;
use Tests\TestCase;

class EmailVerificationTest extends TestCase
final class EmailVerificationTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/InviteTeamMemberTest.php
Expand Up @@ -9,7 +9,7 @@
use Laravel\Jetstream\Mail\TeamInvitation;
use Tests\TestCase;

class InviteTeamMemberTest extends TestCase
final class InviteTeamMemberTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/LeaveTeamTest.php
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class LeaveTeamTest extends TestCase
final class LeaveTeamTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/PasswordConfirmationTest.php
Expand Up @@ -7,7 +7,7 @@
use Laravel\Jetstream\Features;
use Tests\TestCase;

class PasswordConfirmationTest extends TestCase
final class PasswordConfirmationTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/PasswordResetTest.php
Expand Up @@ -9,7 +9,7 @@
use Laravel\Fortify\Features;
use Tests\TestCase;

class PasswordResetTest extends TestCase
final class PasswordResetTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/ProfileInformationTest.php
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class ProfileInformationTest extends TestCase
final class ProfileInformationTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/RegistrationTest.php
Expand Up @@ -8,7 +8,7 @@
use Laravel\Jetstream\Jetstream;
use Tests\TestCase;

class RegistrationTest extends TestCase
final class RegistrationTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/RemoveTeamMemberTest.php
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class RemoveTeamMemberTest extends TestCase
final class RemoveTeamMemberTest extends TestCase
{
use RefreshDatabase;

Expand Down
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class TwoFactorAuthenticationSettingsTest extends TestCase
final class TwoFactorAuthenticationSettingsTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/UpdatePasswordTest.php
Expand Up @@ -7,7 +7,7 @@
use Illuminate\Support\Facades\Hash;
use Tests\TestCase;

class UpdatePasswordTest extends TestCase
final class UpdatePasswordTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/UpdateTeamMemberRoleTest.php
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class UpdateTeamMemberRoleTest extends TestCase
final class UpdateTeamMemberRoleTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Jetstream/UpdateTeamNameTest.php
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class UpdateTeamNameTest extends TestCase
final class UpdateTeamNameTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Run/RunTest.php
Expand Up @@ -9,7 +9,7 @@
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;

class RunTest extends TestCase
final class RunTest extends TestCase
{
use RefreshDatabase;
use WithFaker;
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Run/RunTestTest.php
Expand Up @@ -11,7 +11,7 @@
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;

class RunTestTest extends TestCase
final class RunTestTest extends TestCase
{
use RefreshDatabase;
use WithFaker;
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Test/CreateTestTest.php
Expand Up @@ -8,7 +8,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class CreateTestTest extends TestCase
final class CreateTestTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Test/EditTestTest.php
Expand Up @@ -9,7 +9,7 @@
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;

class EditTestTest extends TestCase
final class EditTestTest extends TestCase
{
use RefreshDatabase;
use WithFaker;
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/Test/TestSortOrderTest.php
Expand Up @@ -8,7 +8,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class TestSortOrderTest extends TestCase
final class TestSortOrderTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/TestSuite/CreateTestSuiteTest.php
Expand Up @@ -7,7 +7,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class CreateTestSuiteTest extends TestCase
final class CreateTestSuiteTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/TestSuite/EditTestSuiteTest.php
Expand Up @@ -8,7 +8,7 @@
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;

class EditTestSuiteTest extends TestCase
final class EditTestSuiteTest extends TestCase
{
use RefreshDatabase, WithFaker;

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/WebTest.php
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class WebTest extends TestCase
final class WebTest extends TestCase
{
use RefreshDatabase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ExampleTest.php
Expand Up @@ -4,7 +4,7 @@

use PHPUnit\Framework\TestCase;

class ExampleTest extends TestCase
final class ExampleTest extends TestCase
{
/**
* A basic test example.
Expand Down

0 comments on commit f8b1c8a

Please sign in to comment.