| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function execute(TestInfo $testInfo): void |
||
| 28 | { |
||
| 29 | $input = $testInfo->getRoot() . '/' . $testInfo->getRpId() . '/' . $this->getTestId() . '/joe'; |
||
| 30 | |||
| 31 | try { |
||
| 32 | $issuer = (new IssuerBuilder()) |
||
|
|
|||
| 33 | ->build($input); |
||
| 34 | |||
| 35 | throw new AssertionFailedError('No assertions'); |
||
| 36 | } catch (\Throwable $e) { |
||
| 37 | Assert::assertSame('Unable to fetch issuer metadata', $e->getMessage()); |
||
| 38 | Assert::assertRegExp('/Discovered issuer mismatch/', $e->getPrevious()->getMessage()); |
||
| 39 | } |
||
| 42 |