@@ -43,6 +43,7 @@ class LoginIntegrationTest extends \PHPUnit\Framework\TestCase
4343 */
4444 protected $ cookies_file ;
4545
46+
4647 /**
4748 * The setup method that is run before any tests in this class.
4849 * @return void
@@ -56,6 +57,7 @@ protected function setup() : void
5657 $ this ->cookies_file = sys_get_temp_dir ().'/ ' .$ this ->server_pid .'.cookies ' ;
5758 }
5859
60+
5961 /**
6062 * The tear down method that is executed after all tests in this class.
6163 * Removes the lock file and cookies file
@@ -149,6 +151,7 @@ public function testValidServiceUrl()
149151 );
150152 }
151153
154+
152155 /**
153156 * Test outputting user info instead of redirecting
154157 * @return void
@@ -175,6 +178,7 @@ public function testDebugOutput()
175178 );
176179 }
177180
181+
178182 /**
179183 * Test outputting user info instead of redirecting
180184 * @return void
@@ -202,8 +206,10 @@ public function testDebugOutputSamlValidate()
202206 );
203207 }
204208
209+
205210 /**
206211 * Test outputting user info instead of redirecting
212+ * @return void
207213 */
208214 public function testAlternateServiceConfigUsed ()
209215 {
@@ -231,6 +237,7 @@ public function testAlternateServiceConfigUsed()
231237 );
232238 }
233239
240+
234241 /**
235242 * test a valid service URL with Post
236243 * @return void
@@ -285,6 +292,10 @@ public function testValidServiceUrlWithPost()
285292 );
286293 }
287294
295+
296+ /**
297+ * @return void
298+ */
288299 public function testSamlValidate ()
289300 {
290301 $ service_url = 'http://host1.domain:1234/path1 ' ;
@@ -334,6 +345,7 @@ public function testSamlValidate()
334345 $ this ->
assertStringContainsString (
'[email protected] </NameIdentifier> ' ,
$ resp[
'body ' ]);
335346 }
336347
348+
337349 /**
338350 * Sets up an authenticated session for the cookie $jar
339351 * @return void
@@ -354,6 +366,7 @@ private function authenticate()
354366 $ this ->assertEquals (200 , $ resp ['code ' ], $ resp ['body ' ]);
355367 }
356368
369+
357370 /**
358371 * TODO: migrate into BuiltInServer
359372 * @param resource $ch
@@ -382,6 +395,7 @@ private function execAndHandleCurlResponse($ch)
382395 ];
383396 }
384397
398+
385399 /**
386400 * TODO: migrate into BuiltInServer
387401 * @param string $query The path at the embedded server to query
0 commit comments