@@ -9,6 +9,7 @@ class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase', true);
99 */
1010class sspmod_fticks_Auth_Process_FticksTest extends \PHPUnit_Framework_TestCase
1111{
12+ /** @var array minimal request */
1213 private static $ _minrequest = array (
1314 'Source ' => array (
1415 'entityid ' => 'https://localhost/sp ' ,
@@ -18,6 +19,7 @@ class sspmod_fticks_Auth_Process_FticksTest extends \PHPUnit_Framework_TestCase
1819 ),
1920 );
2021
22+ /** @var array SP request */
2123 private static $ _sprequest = array (
2224 'saml:sp:IdP ' => 'https://localhost/saml:sp:IdP ' ,
2325 'saml:sp:SessionIndex ' => 'saml:sp:SessionIndex ' ,
@@ -27,6 +29,7 @@ class sspmod_fticks_Auth_Process_FticksTest extends \PHPUnit_Framework_TestCase
2729 ),
2830 );
2931
32+ /** @var array IdP request */
3033 private static $ _idprequest = array (
3134 'SimpleSAML_Auth_State.id ' => 'SimpleSAML_Auth_State.id ' ,
3235 'SimpleSAML_Auth_State.stage ' => 'sspmod_core_Auth_UserPassBase.state ' ,
@@ -47,6 +50,9 @@ private static function processFilter(array $config, array $request)
4750 return $ request ;
4851 }
4952
53+ /**
54+ * @return void
55+ */
5056 protected function setUp ()
5157 {
5258 \SimpleSAML_Configuration::loadFromArray (array (
@@ -59,6 +65,9 @@ protected function setUp()
5965 */
6066 }
6167
68+ /**
69+ * @return void
70+ */
6271 public function testMinimal ()
6372 {
6473 $ config = array ('federation ' => 'ACME ' , 'logdest ' => 'stdout ' );
@@ -67,6 +76,9 @@ public function testMinimal()
6776 $ result = self ::processFilter ($ config , $ request );
6877 }
6978
79+ /**
80+ * @return void
81+ */
7082 public function testAsServiceProvider ()
7183 {
7284 $ config = array ('federation ' => 'ACME ' , 'logdest ' => 'stdout ' ,);
@@ -75,6 +87,9 @@ public function testAsServiceProvider()
7587 $ result = self ::processFilter ($ config , $ request );
7688 }
7789
90+ /**
91+ * @return void
92+ */
7893 public function testSPwithUserId ()
7994 {
8095 $ config = array ('federation ' => 'ACME ' , 'logdest ' => 'stdout ' , 'userId ' => 'eduPersonPrincipalName ' );
@@ -87,6 +102,9 @@ public function testSPwithUserId()
87102 $ result = self ::processFilter ($ config , $ request );
88103 }
89104
105+ /**
106+ * @return void
107+ */
90108 public function testAsIdentityProvider ()
91109 {
92110 $ config = array ('federation ' => 'ACME ' , 'logdest ' => 'stdout ' ,);
@@ -95,6 +113,9 @@ public function testAsIdentityProvider()
95113 $ result = self ::processFilter ($ config , $ request );
96114 }
97115
116+ /**
117+ * @return void
118+ */
98119 public function testExample ()
99120 {
100121 $ config = array (
@@ -116,6 +137,9 @@ public function testExample()
116137 $ result = self ::processFilter ($ config , $ request );
117138 }
118139
140+ /**
141+ * @return void
142+ */
119143 public function testFilteringArray ()
120144 {
121145 $ config = array ('federation ' => 'ACME ' , 'logdest ' => 'stdout ' , 'exclude ' => array ('PN ' , 'AM ' ));
@@ -124,6 +148,9 @@ public function testFilteringArray()
124148 $ result = self ::processFilter ($ config , $ request );
125149 }
126150
151+ /**
152+ * @return void
153+ */
127154 public function testFilteringString ()
128155 {
129156 $ config = array ('federation ' => 'ACME ' , 'logdest ' => 'stdout ' , 'exclude ' => 'AM ' );
0 commit comments