From e9e76fa6f0f6a43acd4b1595dd29e79e006968d9 Mon Sep 17 00:00:00 2001 From: tailor Date: Thu, 7 Feb 2008 21:40:00 +0000 Subject: [project @ Skip HMAC-SHA256 test if not supported] --- Tests/Auth/OpenID/Consumer.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tests/Auth/OpenID/Consumer.php b/Tests/Auth/OpenID/Consumer.php index afa47df..2a02926 100644 --- a/Tests/Auth/OpenID/Consumer.php +++ b/Tests/Auth/OpenID/Consumer.php @@ -2220,6 +2220,11 @@ class TestCreateAssociationRequest extends PHPUnit_TestCase { function test_noEncryptionSendsTypeHMACSHA256() { + if (!Auth_OpenID_HMACSHA256_SUPPORTED) { + $this->pass(); + return; + } + $session_type = 'no-encryption'; $this->assoc_type = 'HMAC-SHA256'; -- cgit v1.1