Skip to content

Commit be31626

Browse files
committed
chore: add final to all test classes
1 parent 01edf81 commit be31626

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/Feature/RoutesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use App\Tests\BootsApp;
66
use Laminas\Diactoros\ServerRequestFactory;
77

8-
class RoutesTest extends BootsApp
8+
final class RoutesTest extends BootsApp
99
{
1010
public function testRoute()
1111
{

tests/TestEmitter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Psr\Http\Message\ResponseInterface;
66
use Laminas\HttpHandlerRunner\Emitter\EmitterInterface;
77

8-
class TestEmitter implements EmitterInterface
8+
final class TestEmitter implements EmitterInterface
99
{
1010
private ResponseInterface $response;
1111

tests/Unit/DatabaseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Doctrine\ORM\Tools\SchemaTool;
1010
use PHPUnit\Framework\TestCase;
1111

12-
class DatabaseTest extends TestCase
12+
final class DatabaseTest extends TestCase
1313
{
1414
/**
1515
* @var EntityManager
@@ -41,6 +41,6 @@ public static function setUpBeforeClass(): void
4141

4242
public function testEntity()
4343
{
44-
// ...
44+
$this->assertTrue(true); // ...
4545
}
4646
}

0 commit comments

Comments
 (0)