summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Auth/OpenID/AuthRequest.php6
-rw-r--r--Tests/Auth/OpenID/Message.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/Tests/Auth/OpenID/AuthRequest.php b/Tests/Auth/OpenID/AuthRequest.php
index 3f67bbc..14c4f59 100644
--- a/Tests/Auth/OpenID/AuthRequest.php
+++ b/Tests/Auth/OpenID/AuthRequest.php
@@ -114,9 +114,9 @@ class TestAuthRequestMixin extends OpenIDTestMixin {
// namespaces. Really it doesn't care that it has alias "0",
// but that is tested anyway
$post_args = $msg->toPostArgs();
- $this->assertEquals('bag:', $post_args['openid.ns.0']);
- $this->assertEquals('brown', $post_args['openid.0.color']);
- $this->assertEquals('paper', $post_args['openid.0.material']);
+ $this->assertEquals('bag:', $post_args['openid.ns.ext0']);
+ $this->assertEquals('brown', $post_args['openid.ext0.color']);
+ $this->assertEquals('paper', $post_args['openid.ext0.material']);
}
function test_standard()
diff --git a/Tests/Auth/OpenID/Message.php b/Tests/Auth/OpenID/Message.php
index cd26c52..633955c 100644
--- a/Tests/Auth/OpenID/Message.php
+++ b/Tests/Auth/OpenID/Message.php
@@ -1064,7 +1064,7 @@ class Tests_Auth_OpenID_NamespaceMap extends PHPUnit_TestCase {
foreach ($nsm->iteritems() as $pair) {
list($uri, $alias) = $pair;
- $this->assertTrue(substr($uri, 22) == $alias);
+ $this->assertTrue('ext'.substr($uri, 22) == $alias);
}
$it = $nsm->iterAliases();