Author: as
Date: Mon Dec 3 11:11:03 2007
New Revision: 6899
Log:
- Fixed a test which breaks without gmp or bcmath.
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
Dec 3 11:11:03 2007
@@ -687,6 +687,12 @@
public function testOpenidMockImmediateCaseNullSmartModeFileStore()
{
+ if ( !ezcBaseFeatures::hasExtensionSupport( 'bcmath' ) &&
+ !ezcBaseFeatures::hasExtensionSupport( 'gmp' ) )
+ {
+ $this->markTestSkipped( 'PHP must be compiled with --enable-bcmath
or --with-gmp.' );
+ }
+
$credentials = new ezcAuthenticationIdCredentials( self::$url );
$authentication = new ezcAuthentication( $credentials );
$options = new ezcAuthenticationOpenidOptions();
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components