summaryrefslogtreecommitdiffstats
path: root/Tests/Auth/OpenID
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Auth/OpenID')
-rw-r--r--Tests/Auth/OpenID/Consumer.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/Auth/OpenID/Consumer.php b/Tests/Auth/OpenID/Consumer.php
index e6918b1..15a3537 100644
--- a/Tests/Auth/OpenID/Consumer.php
+++ b/Tests/Auth/OpenID/Consumer.php
@@ -30,10 +30,12 @@ class Auth_OpenID_TestConsumer extends Auth_OpenID_GenericConsumer {
/**
* Use a small (insecure) modulus for this test so that it runs quickly
*/
+ /*
function _createDiffieHellman()
{
return new Auth_OpenID_DiffieHellman('1235514290909');
}
+ */
}
$_Auth_OpenID_assocs = array(
@@ -68,7 +70,8 @@ function Auth_OpenID_associate($qs, $assoc_secret, $assoc_handle)
if (defined('Auth_OpenID_NO_MATH_SUPPORT')) {
assert(count($query_data) == 2);
- $session = Auth_OpenID_PlainTextServerSession::fromQuery($query_data);
+ $message = Auth_OpenID_Message::fromPostArgs($query_data);
+ $session = Auth_OpenID_PlainTextServerSession::fromMessage($message);
} else {
assert((count($query_data) == 6) || (count($query_data) == 4));
assert($query_data['openid.mode'] == 'associate');