@@ -74,6 +74,7 @@ final class MetaLoaderTest extends TestCase
7474 'tags ' => ['my-tag ' ],
7575 ];
7676
77+
7778 protected function setUp (): void
7879 {
7980 $ this ->config = Configuration::loadFromArray (
@@ -87,6 +88,7 @@ protected function setUp(): void
8788 $ this ->source ['src ' ] = dirname (__FILE__ , 2 ) . '/testmetadata.xml ' ;
8889 }
8990
91+
9092 protected function tearDown (): void
9193 {
9294 if ($ this ->tmpdir && is_dir ($ this ->tmpdir )) {
@@ -97,6 +99,7 @@ protected function tearDown(): void
9799 }
98100 }
99101
102+
100103 public function testMetaLoader (): void
101104 {
102105 $ this ->metaloader ->loadSource ($ this ->source );
@@ -121,6 +124,7 @@ public function testMetaLoader(): void
121124 );
122125 }
123126
127+
124128 public function testSignatureVerificationCertificatePass (): void
125129 {
126130 $ this ->metaloader ->loadSource (
@@ -130,6 +134,7 @@ public function testSignatureVerificationCertificatePass(): void
130134 $ this ->expectOutputRegex ('/UTEbMBkGA1UECgwSRXhhbXBsZSBVbml2ZXJzaXR5MRgwFgYDVQQDDA9pZHAuZXhh/ ' );
131135 }
132136
137+
133138 public function testWriteMetadataFiles (): void
134139 {
135140 $ this ->tmpdir = tempnam (sys_get_temp_dir (), 'SSP:tests:metarefresh: ' );
@@ -149,6 +154,7 @@ public function testWriteMetadataFiles(): void
149154 );
150155 }
151156
157+
152158 /**
153159 * Tests that setting an explicit expiry time will be added to the resulting
154160 * metadata when the original metadata lacks one.
@@ -175,7 +181,8 @@ public function testMetaLoaderSetExpiryWhenNotPresent(): void
175181 $ this ->assertEquals (1000 , $ metadata ['https://idp.example.com/idp/shibboleth ' ]['expire ' ]);
176182 }
177183
178- /*
184+
185+ /**
179186 * Test two matching EntityAttributes (R&S + Sirtfi)
180187 */
181188 public function testAttributewhitelist1 (): void
@@ -211,7 +218,8 @@ public function testAttributewhitelist1(): void
211218 );
212219 }
213220
214- /*
221+
222+ /**
215223 * Test non-matching of the whitelist: result should be empty set
216224 */
217225 public function testAttributewhitelist2 (): void
@@ -234,7 +242,8 @@ public function testAttributewhitelist2(): void
234242 $ this ->assertEmpty ($ output );
235243 }
236244
237- /*
245+
246+ /**
238247 * Test non-matching of first entry, but matching of second, using both
239248 * RegistrationInfo and EntityAttributes
240249 */
0 commit comments