Skip to content

Commit 21d61ff

Browse files
committed
Migrate phpunit metadata to attributes
1 parent 721c65b commit 21d61ff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/src/Auth/Process/FticksTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace SimpleSAML\Test\Module\fticks\Auth\Process;
66

7+
use PHPUnit\Framework\Attributes\BackupStaticProperties;
78
use PHPUnit\Framework\TestCase;
89
use SAML2\Constants;
910
use SimpleSAML\Configuration;
@@ -235,8 +236,8 @@ public function testInvalidConfig(): void
235236
}
236237

237238
/**
238-
* @backupStaticAttributes
239239
*/
240+
#[BackupStaticProperties(true)]
240241
public function testRiskyLogSettings(): void
241242
{
242243
Logger::setCaptureLog();

0 commit comments

Comments
 (0)