summaryrefslogtreecommitdiffstats
path: root/Tests/Auth/OpenID/Consumer.php
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Auth/OpenID/Consumer.php')
-rw-r--r--Tests/Auth/OpenID/Consumer.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/Auth/OpenID/Consumer.php b/Tests/Auth/OpenID/Consumer.php
index 3858d8d..650e6df 100644
--- a/Tests/Auth/OpenID/Consumer.php
+++ b/Tests/Auth/OpenID/Consumer.php
@@ -844,8 +844,12 @@ class Tests_Auth_OpenID_Consumer_TestFetchAssoc extends PHPUnit_TestCase {
"raise E_MOCK_FETCHER_EXCEPTION");
}
+ $endpoint = new Auth_OpenID_ServiceEndpoint();
+ $endpoint->server_url = 'some://url';
+
// exception fetching returns no association
- $this->assertEquals(@$this->consumer->_getAssociation('some://url'), null);
+ $this->assertEquals(@$this->consumer->_getAssociation($endpoint),
+ null);
$query = array('openid.signed' => '');
$message = Auth_OpenID_Message::fromPostArgs($query);