Skip to content

Commit

Permalink
Migrate phpunit metadata to attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Apr 30, 2024
1 parent d059ff2 commit 991818e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/src/TestCase/AuthSource/NegotiateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
namespace SimpleSAML\Module\monitor\Test;

use KRB5NegotiateAuth;
use PHPUnit\Framework\Attributes\RequiresPhpExtension;
use SimpleSAML\Module\monitor\State;
use SimpleSAML\Module\monitor\TestCase;
use SimpleSAML\Module\monitor\TestData;

/**
* Tests for TestCase\Negotiate
*
* @requires extension krb5
*/
#[RequiresPhpExtension('krb5')]
class TestNegotiateTest extends \PHPUnit\Framework\TestCase
{
public static function setUpBeforeClass(): void
Expand Down
4 changes: 2 additions & 2 deletions tests/src/TestCase/FileSystem/FreeSpaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

namespace SimpleSAML\Module\monitor\Test;

use PHPUnit\Framework\Attributes\RequiresOperatingSystemFamily;
use SimpleSAML\Module\monitor\State;
use SimpleSAML\Module\monitor\TestCase;
use SimpleSAML\Module\monitor\TestData;

/**
* Tests for TestCase\FileSystem\FreeSpace
*
* @requires OSFAMILY Linux
*/
#[RequiresOperatingSystemFamily('Linux')]
class TestFreeSpaceTest extends \PHPUnit\Framework\TestCase
{
public function testFreeSpaceAvailable(): void
Expand Down

0 comments on commit 991818e

Please sign in to comment.