Skip to content

Commit 761dae7

Browse files
committed
chore: add PHPUnit annotations
1 parent c6f161b commit 761dae7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/U2FServerTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ public static function dataProviderForFixSignatureUnusedBits(): array
141141
/**
142142
* @dataProvider dataProviderForFixSignatureUnusedBits
143143
*/
144+
#[\PHPUnit\Framework\Attributes\DataProvider('dataProviderForFixSignatureUnusedBits')]
144145
public function testFixSignatureUnusedBits(
145146
string $inputSignatureBlock,
146147
string $signatureHash,
@@ -185,6 +186,7 @@ public function testBase64UEncodeDecode(): void
185186
/**
186187
* @group openssl
187188
*/
189+
#[\PHPUnit\Framework\Attributes\Group('openssl')]
188190
public function testCheckOpenSSLVersion(): void
189191
{
190192
$u2f = self::getClassMethod(U2FServer::class, 'checkOpenSSLVersion');
@@ -195,6 +197,7 @@ public function testCheckOpenSSLVersion(): void
195197
/**
196198
* @group file-system
197199
*/
200+
#[\PHPUnit\Framework\Attributes\Group('file-system')]
198201
public function testGetCerts(): void
199202
{
200203
$tempDirName = tempnam(sys_get_temp_dir(), '_testGetCerts');

0 commit comments

Comments
 (0)