|
6 | 6 |
|
7 | 7 | use PHPUnit\Framework\Attributes\CoversClass; |
8 | 8 | use PHPUnit\Framework\MockObject\MockObject; |
9 | | -use SimpleSAML\OpenID\Codebooks\ClaimsEnum; |
| 9 | +use PHPUnit\Framework\TestCase; |
10 | 10 | use SimpleSAML\OpenID\Codebooks\EntityTypesEnum; |
11 | 11 | use SimpleSAML\OpenID\Decorators\DateIntervalDecorator; |
12 | 12 | use SimpleSAML\OpenID\Exceptions\EntityStatementException; |
|
15 | 15 | use SimpleSAML\OpenID\Federation\MetadataPolicyApplicator; |
16 | 16 | use SimpleSAML\OpenID\Federation\MetadataPolicyResolver; |
17 | 17 | use SimpleSAML\OpenID\Federation\TrustChain; |
18 | | -use PHPUnit\Framework\TestCase; |
19 | 18 |
|
20 | 19 | #[CoversClass(TrustChain::class)] |
21 | 20 | class TrustChainTest extends TestCase |
@@ -54,7 +53,7 @@ protected function setUp(): void |
54 | 53 | protected function sut( |
55 | 54 | ?DateIntervalDecorator $timestampValidationLeewayDecorator = null, |
56 | 55 | ?MetadataPolicyResolver $metadataPolicyResolver = null, |
57 | | - ?MetadataPolicyApplicator $metadataPolicyApplicator = null |
| 56 | + ?MetadataPolicyApplicator $metadataPolicyApplicator = null, |
58 | 57 | ): TrustChain { |
59 | 58 | $timestampValidationLeewayDecorator ??= $this->timestampValidationLeewayDecoratorMock; |
60 | 59 | $metadataPolicyResolver ??= $this->metadataPolicyResolverMock; |
@@ -203,7 +202,7 @@ public function testCanGetResolvedMetadata(): void |
203 | 202 | |
204 | 203 | ], |
205 | 204 | 'some_claim' => 'something', |
206 | | - ] |
| 205 | + ], |
207 | 206 | ); |
208 | 207 |
|
209 | 208 | $this->assertIsArray($sut->getResolvedMetadata(EntityTypesEnum::OpenIdRelyingParty)); |
|
0 commit comments