summaryrefslogtreecommitdiffstats
path: root/Tests/Auth/OpenID
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-02-11 00:37:58 +0000
committerJosh Hoyt <josh@janrain.com>2006-02-11 00:37:58 +0000
commit46a8bd3bf538230b704285f44ac31cd0fd7aa73c (patch)
tree0e951975d7ff930b147acf100280c8d5ea136c3e /Tests/Auth/OpenID
parent7b027571294dd9787b8afc57b19e35b27b85a61c (diff)
downloadphp-openid-46a8bd3bf538230b704285f44ac31cd0fd7aa73c.zip
php-openid-46a8bd3bf538230b704285f44ac31cd0fd7aa73c.tar.gz
php-openid-46a8bd3bf538230b704285f44ac31cd0fd7aa73c.tar.bz2
[project @ Move the server request object into its own file and rename it]
Diffstat (limited to 'Tests/Auth/OpenID')
-rw-r--r--Tests/Auth/OpenID/Server.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Auth/OpenID/Server.php b/Tests/Auth/OpenID/Server.php
index b015a1b..7fbfeef 100644
--- a/Tests/Auth/OpenID/Server.php
+++ b/Tests/Auth/OpenID/Server.php
@@ -187,7 +187,7 @@ class Tests_Auth_OpenID_Server extends PHPUnit_TestCase {
'openid.identity' => $this->id_url,
'openid.return_to' => $this->rt_url,
);
- $ainfo = new Auth_OpenID_AuthorizationInfo($this->sv_url, $args);
+ $ainfo = new Auth_OpenID_ServerRequest($this->sv_url, $args);
return $this->server->getAuthResponse(&$ainfo, $authorized);
}
@@ -249,7 +249,7 @@ class Tests_Auth_OpenID_Server extends PHPUnit_TestCase {
'openid.trust_root' => $this->tr_url,
);
- $ainfo = new Auth_OpenID_AuthorizationInfo($this->sv_url, $args);
+ $ainfo = new Auth_OpenID_ServerRequest($this->sv_url, $args);
list($status, $info) = $this->server->getAuthResponse(&$ainfo, false);
$this->assertEquals(Auth_OpenID_DO_AUTH, $status);
$this->assertEquals($this->tr_url, $info->getTrustRoot());