diff options
-rw-r--r-- | Auth/OpenID/Consumer.php | 2 | ||||
-rw-r--r-- | Tests/Auth/OpenID/AssociationResponse.php | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php index 1859f5c..16d0a41 100644 --- a/Auth/OpenID/Consumer.php +++ b/Auth/OpenID/Consumer.php @@ -1335,7 +1335,7 @@ class Auth_OpenID_GenericConsumer { return $this->_extractAssociation($response_message, $assoc_session); } - function _extractAssociation($assoc_response, $assoc_session) + function _extractAssociation(&$assoc_response, &$assoc_session) { // Extract the common fields from the response, raising an // exception if they are not found diff --git a/Tests/Auth/OpenID/AssociationResponse.php b/Tests/Auth/OpenID/AssociationResponse.php index a4763c8..e21ef73 100644 --- a/Tests/Auth/OpenID/AssociationResponse.php +++ b/Tests/Auth/OpenID/AssociationResponse.php @@ -55,7 +55,8 @@ class Tests_Auth_OpenID_AssociationResponse extends PHPUnit_TestCase { function _run($keys) { $msg = mkAssocResponse($keys); - $this->assertTrue(is_a($this->consumer->_extractAssociation($msg, null), + $dumb = null; + $this->assertTrue(is_a($this->consumer->_extractAssociation($msg, $dumb), 'Auth_OpenID_FailureResponse')); } } |