Skip to content

Commit f526015

Browse files
laravel-shiftmarvindurot
authored andcommitted
Define test classes as final
1 parent bb3c214 commit f526015

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ApiTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use PHPUnit\Framework\TestCase;
99
use TypeError;
1010

11-
class ApiTest extends TestCase
11+
final class ApiTest extends TestCase
1212
{
1313
protected const ENDPOINTS = ['client', 'catalogue', 'materiel', 'fabricant', 'type', 'tarif', 'caracteristique'];
1414
protected $token;

tests/TransportCurlTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use PHPUnit\Framework\TestCase;
1010
use Cristal\ApiWrapper\Transports\Bearer;
1111

12-
class TransportCurlTest extends TestCase
12+
final class TransportCurlTest extends TestCase
1313
{
1414
/**
1515
* @var string

0 commit comments

Comments
 (0)