diff options
author | tailor <dag@janrain.com> | 2008-05-29 23:10:28 +0000 |
---|---|---|
committer | tailor <dag@janrain.com> | 2008-05-29 23:10:28 +0000 |
commit | e216ac8552df44b3281cfd75e9c2dffb776cfc32 (patch) | |
tree | 2f5652ff2f59998433a2c5a3456f8b864f226dd1 /Tests | |
parent | 3db1da32330040bcd337bbe1960cf3527857c394 (diff) | |
download | php-openid-e216ac8552df44b3281cfd75e9c2dffb776cfc32.zip php-openid-e216ac8552df44b3281cfd75e9c2dffb776cfc32.tar.gz php-openid-e216ac8552df44b3281cfd75e9c2dffb776cfc32.tar.bz2 |
[project @ PAPE: properly use "none" for empty auth policies list]
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Auth/OpenID/PAPE.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Auth/OpenID/PAPE.php b/Tests/Auth/OpenID/PAPE.php index 07d3b41..d53fb04 100644 --- a/Tests/Auth/OpenID/PAPE.php +++ b/Tests/Auth/OpenID/PAPE.php @@ -139,7 +139,7 @@ class PapeResponseTestCase extends PHPUnit_TestCase { } function test_getExtensionArgs() { - $this->assertEquals(array('auth_policies' => ''), $this->req->getExtensionArgs()); + $this->assertEquals(array('auth_policies' => 'none'), $this->req->getExtensionArgs()); $this->req->addPolicyURI('http://uri'); $this->assertEquals(array('auth_policies' => 'http://uri'), $this->req->getExtensionArgs()); $this->req->addPolicyURI('http://zig'); |