@@ -23,7 +23,7 @@ public function setUp()
2323    /** 
2424    * Tests the getSettings method of the OneLogin_Saml2_Auth class 
2525    * Build a OneLogin_Saml2_Settings object with a setting array 
26-     * and compare the value returned from the method of the   
26+     * and compare the value returned from the method of the 
2727    * $auth object 
2828    * 
2929    * @covers OneLogin_Saml2_Auth::getSettings 
@@ -93,7 +93,7 @@ public function testProcessNoResponse()
9393    * @covers OneLogin_Saml2_Auth::getErrors 
9494    * @covers OneLogin_Saml2_Auth::getSessionIndex 
9595    * @covers OneLogin_Saml2_Auth::getSessionExpiration 
96-     * @covers OneLogin_Saml2_Auth::getLastErrorReason      
96+     * @covers OneLogin_Saml2_Auth::getLastErrorReason 
9797    */ 
9898    public  function  testProcessResponseInvalid ()
9999    {
@@ -150,7 +150,7 @@ public function testProcessResponseInvalidRequestId()
150150    * 
151151    * @covers OneLogin_Saml2_Auth::processResponse 
152152    * @covers OneLogin_Saml2_Auth::isAuthenticated 
153-     * @covers OneLogin_Saml2_Auth::getAttributes      
153+     * @covers OneLogin_Saml2_Auth::getAttributes 
154154    * @covers OneLogin_Saml2_Auth::getAttribute 
155155    * @covers OneLogin_Saml2_Auth::getNameId 
156156    * @covers OneLogin_Saml2_Auth::getSessionIndex 
@@ -178,7 +178,7 @@ public function testProcessResponseValid()
178178
179179    /** 
180180    * Tests the redirectTo method of the OneLogin_Saml2_Auth class 
181-     * (phpunit raises an exception when a redirect is executed, the   
181+     * (phpunit raises an exception when a redirect is executed, the 
182182    * exception is catched and we check that the targetURL is correct) 
183183    * Case redirect without url parameter 
184184    * 
@@ -205,7 +205,7 @@ public function testRedirectTo()
205205
206206    /** 
207207    * Tests the redirectTo method of the OneLogin_Saml2_Auth class 
208-     * (phpunit raises an exception when a redirect is executed, the   
208+     * (phpunit raises an exception when a redirect is executed, the 
209209    * exception is catched and we check that the targetURL is correct) 
210210    * Case redirect with url parameter 
211211    * 
@@ -358,7 +358,7 @@ public function testProcessSLOResponseValid()
358358
359359    /** 
360360    * Tests the processSLO method of the OneLogin_Saml2_Auth class 
361-     * Case Valid Logout Response, validating deleting the local session    
361+     * Case Valid Logout Response, validating deleting the local session 
362362    * 
363363    * @covers OneLogin_Saml2_Auth::processSLO 
364364    */ 
@@ -482,7 +482,7 @@ public function testProcessSLORequestInvalidValid()
482482    * 
483483    * @covers OneLogin_Saml2_Auth::processSLO 
484484    */ 
485-      
485+ 
486486    public  function  testProcessSLORequestNotOnOrAfterFailed ()
487487    {
488488        $ message  = file_get_contents (TEST_ROOT  . '/data/logout_requests/invalids/not_after_failed.xml.base64 ' );
@@ -741,7 +741,7 @@ public function testLogin()
741741
742742    /** 
743743    * Tests the login method of the OneLogin_Saml2_Auth class 
744-     * Case Login with relayState. An AuthnRequest is built. GET with SAMLRequest,   
744+     * Case Login with relayState. An AuthnRequest is built. GET with SAMLRequest, 
745745    * and RelayState. A redirection is executed 
746746    * 
747747    * @covers OneLogin_Saml2_Auth::login 
@@ -880,7 +880,7 @@ public function testLoginForceAuthN()
880880            $ request  = gzinflate ($ decoded );
881881            $ this  ->assertNotContains ('ForceAuthn="true" ' , $ request );
882882        }
883-          
883+ 
884884        try  {
885885            // The Header of the redirect produces an Exception 
886886            $ returnTo  = 'http://example.com/returnto ' ;
@@ -962,7 +962,7 @@ public function testLoginIsPassive()
962962            $ request  = gzinflate ($ decoded );
963963            $ this  ->assertNotContains ('IsPassive="true" ' , $ request );
964964        }
965-          
965+ 
966966        try  {
967967            // The Header of the redirect produces an Exception 
968968            $ returnTo  = 'http://example.com/returnto ' ;
@@ -1040,7 +1040,7 @@ public function testLoginNameIDPolicy()
10401040            $ request  = gzinflate ($ decoded );
10411041            $ this  ->assertNotContains ('<samlp:NameIDPolicy ' , $ request );
10421042        }
1043-          
1043+ 
10441044        try  {
10451045            // The Header of the redirect produces an Exception 
10461046            $ returnTo  = 'http://example.com/returnto ' ;
@@ -1285,7 +1285,7 @@ public function testLogoutSigned()
12851285
12861286    /** 
12871287    * Tests the logout method of the OneLogin_Saml2_Auth class 
1288-     * Case IdP no SLO endpoint.   
1288+     * Case IdP no SLO endpoint. 
12891289    * 
12901290    * @covers OneLogin_Saml2_Auth::logout 
12911291    */ 
@@ -1335,7 +1335,7 @@ public function testSetStrict()
13351335            $ auth ->setStrict ('a ' );
13361336            $ this  ->assertTrue (false );
13371337        } catch  (Exception   $ e ) {
1338-             $ this  ->assertContains ('Assertion "is_bool($ value)" failed  ' , $ e ->getMessage ());
1338+             $ this  ->assertContains ('Invalid  value passed to setStrict()  ' , $ e ->getMessage ());
13391339        }
13401340    }
13411341
0 commit comments