File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55namespace SimpleSAML \Test \Module \expirycheck \Controller ;
66
7+ use PHPUnit \Framework \Attributes \CoversClass ;
8+ use PHPUnit \Framework \Attributes \DataProvider ;
79use PHPUnit \Framework \TestCase ;
810use SimpleSAML \Auth ;
911use SimpleSAML \Configuration ;
1618
1719/**
1820 * Set of tests for the controllers in the "expirycheck" module.
19- *
20- * @covers \SimpleSAML\Module\expirycheck\Controller\ExpiryCheck
2121 */
22+ #[CoversClass(Controller \ExpiryCheck::class)]
2223class ExpiryCheckTest extends TestCase
2324{
2425 /** @var \SimpleSAML\Configuration */
@@ -52,10 +53,10 @@ protected function setUp(): void
5253 /**
5354 * Test that a missing SourceID results in an error-response
5455 *
55- * @dataProvider endpoints
5656 * @param string $endpoint
5757 * @return void
5858 */
59+ #[DataProvider('endpoints ' )]
5960 public function testMissingSourceId (string $ endpoint ): void
6061 {
6162 $ request = Request::create (
You can’t perform that action at this time.
0 commit comments