Skip to content

Commit ece0e9c

Browse files
authored
test: use CoversTrait (#89)
1 parent 1ea05d5 commit ece0e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Transport/SimpleBatchTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
namespace SimPod\PhpSnmp\Tests\Transport;
66

7-
use PHPUnit\Framework\Attributes\CoversClass;
7+
use PHPUnit\Framework\Attributes\CoversTrait;
88
use PHPUnit\Framework\Attributes\DataProvider;
99
use PHPUnit\Framework\TestCase;
1010
use SimPod\PhpSnmp\Exception\NoRequestsProvided;
1111
use SimPod\PhpSnmp\Transport\Request;
1212
use SimPod\PhpSnmp\Transport\SimpleBatch;
1313
use SimPod\PhpSnmp\Transport\SnmpClient;
1414

15-
#[CoversClass(SimpleBatch::class)]
15+
#[CoversTrait(SimpleBatch::class)]
1616
final class SimpleBatchTest extends TestCase
1717
{
1818
/**

0 commit comments

Comments
 (0)