@@ -370,10 +370,10 @@ public function testGetselfhost()
370370    public  function  testisHTTPS ()
371371    {
372372        $ this assertFalse (OneLogin_Saml2_Utils::isHTTPS ());
373-          
373+ 
374374        $ _SERVER 'HTTPS ' ] = 'on ' ;
375375        $ this assertTrue (OneLogin_Saml2_Utils::isHTTPS ());
376-      
376+ 
377377        unset($ _SERVER 'HTTPS ' ]);
378378        $ this assertFalse (OneLogin_Saml2_Utils::isHTTPS ());
379379        $ _SERVER 'HTTP_HOST ' ] = 'example.com:443 ' ;
@@ -482,7 +482,7 @@ public function testSetBaseURL()
482482        $ expectedUrlNQ2'http://anothersp.example.com:81/example2/route.php ' ;
483483        $ expectedRoutedUrlNQ2'http://anothersp.example.com:81/example2/route.php ' ;
484484        $ expectedUrl2'http://anothersp.example.com:81/example2/route.php?x=test ' ;
485-          
485+ 
486486        $ this assertEquals ('http ' , OneLogin_Saml2_Utils::getSelfProtocol ());
487487        $ this assertEquals ('anothersp.example.com ' , OneLogin_Saml2_Utils::getSelfHost ());
488488        $ this assertEquals ('81 ' , OneLogin_Saml2_Utils::getSelfPort ());
@@ -957,7 +957,7 @@ public function testDeleteLocalSession()
957957            $ this assertTrue ($ _SESSION 'samltest ' ]);
958958
959959            OneLogin_Saml2_Utils::deleteLocalSession ();
960-             $ this assertFalse ( isset ( $ _SESSION ) );
960+             $ this assertEmpty ( $ _SESSION 
961961            $ this assertFalse (isset ($ _SESSION 'samltest ' ]));
962962
963963            $ preverror_reporting (0 );
@@ -966,7 +966,7 @@ public function testDeleteLocalSession()
966966
967967            $ _SESSION 'samltest ' ] = true ;
968968            OneLogin_Saml2_Utils::deleteLocalSession ();
969-             $ this assertFalse ( isset ( $ _SESSION ) );
969+             $ this assertEmpty ( $ _SESSION 
970970            $ this assertFalse (isset ($ _SESSION 'samltest ' ]));
971971        }
972972    }
0 commit comments