summaryrefslogtreecommitdiffstats
path: root/Tests/Auth
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-01-12 22:06:54 +0000
committertailor <cygnus@janrain.com>2007-01-12 22:06:54 +0000
commite7115c7b642f6916939fa5dfce40a16750e5366a (patch)
tree0069803699751f98104aa275c1e7799febe738b1 /Tests/Auth
parent2ebb376aeb9676fba1459d7f33a015de49f2f443 (diff)
downloadphp-openid-e7115c7b642f6916939fa5dfce40a16750e5366a.zip
php-openid-e7115c7b642f6916939fa5dfce40a16750e5366a.tar.gz
php-openid-e7115c7b642f6916939fa5dfce40a16750e5366a.tar.bz2
[project @ _getAssociation takes endpoint instead of server_url]
Diffstat (limited to 'Tests/Auth')
-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);