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 5, 2024
1 parent 9ad19e6 commit 3ce9bd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/AvatarLaravelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use PHPUnit\Framework\Attributes\Test;

class AvatarLaravelTest extends \PHPUnit\Framework\TestCase
final class AvatarLaravelTest extends \PHPUnit\Framework\TestCase
{
#[Test]
public function it_can_override_attributes_when_instantiated(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/AvatarPhpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use PHPUnit\Framework\Attributes\Test;

class AvatarPhpTest extends \PHPUnit\Framework\TestCase
final class AvatarPhpTest extends \PHPUnit\Framework\TestCase
{
#[Test]
public function it_can_override_attributes_when_instantiated(): void
Expand Down

0 comments on commit 3ce9bd6

Please sign in to comment.