Author: as
Date: Mon Jul  2 13:45:33 2007
New Revision: 5672

Log:
- Fixed the broken OpenID test by setting the association validity to one week
  from the current date.

Modified:
    trunk/Authentication/tests/filters/openid/openid_test.php

Modified: trunk/Authentication/tests/filters/openid/openid_test.php
==============================================================================
--- trunk/Authentication/tests/filters/openid/openid_test.php [iso-8859-1] 
(original)
+++ trunk/Authentication/tests/filters/openid/openid_test.php [iso-8859-1] Mon 
Jul  2 13:45:33 2007
@@ -97,7 +97,7 @@
         self::$association = new ezcAuthenticationOpenidAssociation( 
'{HMAC-SHA1}{465d8eb9}{NQN84Q==}',
                                                                      
'foz3UXCxQJ5lKvau78Oqen9dTUc=',
                                                                      
1180536597,
-                                                                     '1209600',
+                                                                     time() - 
1180536597 + 604800, // valid 1 week from current time
                                                                      
'HMAC-SHA1' );
 
         return new PHPUnit_Framework_TestSuite( "ezcAuthenticationOpenidTest" 
);
@@ -557,11 +557,9 @@
         $filter = new ezcAuthenticationOpenidWrapper( $options );
         $result = $filter->run( $credentials );
 
-        $this->markTestSkipped( "Skip this test until figuring out why it 
fails." );
+        $this->removeTempDir();
 
         $this->assertEquals( ezcAuthenticationOpenidFilter::STATUS_OK, $result 
);
-
-        $this->removeTempDir();
     }
 
     public function testOpenidWrapperRunModeIdResFileStore()


-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to