summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-02-08 23:53:31 +0000
committertailor <cygnus@janrain.com>2007-02-08 23:53:31 +0000
commitabc240e35e4620e57a020fc1a26110e5c52d95e0 (patch)
treedcd0eae80903a2922263d5921c5cafb8cceedf20
parentf75dadcbce587dce9fe13f0550c104ef61a34f35 (diff)
downloadphp-openid-abc240e35e4620e57a020fc1a26110e5c52d95e0.zip
php-openid-abc240e35e4620e57a020fc1a26110e5c52d95e0.tar.gz
php-openid-abc240e35e4620e57a020fc1a26110e5c52d95e0.tar.bz2
[project @ Test typo]
-rw-r--r--Auth/OpenID/Consumer.php1
-rw-r--r--Tests/Auth/OpenID/Consumer.php6
-rw-r--r--Tests/Auth/OpenID/MemStore.php2
3 files changed, 2 insertions, 7 deletions
diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php
index 63135b4..84985a9 100644
--- a/Auth/OpenID/Consumer.php
+++ b/Auth/OpenID/Consumer.php
@@ -1581,7 +1581,6 @@ class Auth_OpenID_SuccessResponse extends Auth_OpenID_ConsumerResponse {
{
// Return whether a particular key is signed, regardless of
// its namespace alias
- // print_r($this->signed_args);
return in_array($this->message->getKey($ns_uri, $ns_key),
$this->signed_args);
}
diff --git a/Tests/Auth/OpenID/Consumer.php b/Tests/Auth/OpenID/Consumer.php
index 5a05399..826f116 100644
--- a/Tests/Auth/OpenID/Consumer.php
+++ b/Tests/Auth/OpenID/Consumer.php
@@ -938,12 +938,8 @@ class Tests_Auth_OpenID_SetupNeeded extends _TestIdRes {
}
class TempConsumer extends Auth_OpenID_GenericConsumer {
- function _verifyDiscoveryResults($m, $e)
+ function _verifyDiscoveryResults($message, $endpoint)
{
- $endpoint = new Auth_OpenID_ServiceEndpoint();
- $endpoint->claimed_id = $m;
- $endpoint->server_url = $e;
- $endpoint->local_id = $m;
return $endpoint;
}
}
diff --git a/Tests/Auth/OpenID/MemStore.php b/Tests/Auth/OpenID/MemStore.php
index f6c3593..bbb056a 100644
--- a/Tests/Auth/OpenID/MemStore.php
+++ b/Tests/Auth/OpenID/MemStore.php
@@ -82,7 +82,7 @@ class Tests_Auth_OpenID_MemStore extends Auth_OpenID_OpenIDStore {
function useNonce($server_url, $timestamp, $salt)
{
- $nonce = sprintf("%s%s%s", $server_url, $timestamp, $salt);
+ $nonce = sprintf("%s%s%s", $server_url, $timestamp, $salt);
if (in_array($nonce, $this->nonces)) {
return false;
} else {