summaryrefslogtreecommitdiffstats
path: root/Tests/Net/OpenID/Consumer.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-01-13 21:50:15 +0000
committertailor <cygnus@janrain.com>2006-01-13 21:50:15 +0000
commit20c18d8e48e3a93f94865279255b9c64fc61ccce (patch)
treed5ca390124e15e401f8e0696698b28fad9a18a20 /Tests/Net/OpenID/Consumer.php
parent518c1de116a969bbf02c816589187f80736cb4e7 (diff)
downloadphp-openid-20c18d8e48e3a93f94865279255b9c64fc61ccce.zip
php-openid-20c18d8e48e3a93f94865279255b9c64fc61ccce.tar.gz
php-openid-20c18d8e48e3a93f94865279255b9c64fc61ccce.tar.bz2
[project @ Fixed calling convention for Consumer constructor]
Diffstat (limited to 'Tests/Net/OpenID/Consumer.php')
-rw-r--r--Tests/Net/OpenID/Consumer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Net/OpenID/Consumer.php b/Tests/Net/OpenID/Consumer.php
index 3d23794..5937143 100644
--- a/Tests/Net/OpenID/Consumer.php
+++ b/Tests/Net/OpenID/Consumer.php
@@ -198,7 +198,7 @@ class Tests_Net_OpenID_Consumer extends PHPUnit_TestCase {
$_Net_OpenID_assocs[0][0],
$_Net_OpenID_assocs[0][1]);
- $consumer = new Net_OpenID_Consumer($store, $fetcher, $immediate);
+ $consumer = new Net_OpenID_Consumer($store, &$fetcher, $immediate);
$this->assertEquals($fetcher->num_assocs, 0);
$this->_run($consumer, $user_url, $mode, $delegate_url,
@@ -258,7 +258,7 @@ class Tests_Net_OpenID_Consumer extends PHPUnit_TestCase {
Net_OpenID_mkdtemp($_Net_OpenID_filestore_base_dir));
$fetcher = new Net_OpenID_TestFetcher(null, null, null, null);
- $consumer = new Net_OpenID_Consumer($store, $fetcher);
+ $consumer = new Net_OpenID_Consumer($store, &$fetcher);
$cases = array(
array(null, 'http://network.error/'),
array(404, 'http://not.found/'),