diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-01-21 09:16:05 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2009-01-21 09:16:05 -0800 |
commit | cf1185c4891a509386bffd7e01fedce42d970cde (patch) | |
tree | b85bde762f75dbe29af9db65fdecf33c7f27560a /src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs | |
parent | f2c098cf7c700e3e9dc87316608a50de48222e19 (diff) | |
download | DotNetOpenAuth-cf1185c4891a509386bffd7e01fedce42d970cde.zip DotNetOpenAuth-cf1185c4891a509386bffd7e01fedce42d970cde.tar.gz DotNetOpenAuth-cf1185c4891a509386bffd7e01fedce42d970cde.tar.bz2 |
Renamed Channel.Send method to Channel.PrepareResponse and then added a new Send method.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs index a9217eb..4f2c574 100644 --- a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs +++ b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/ExtensionsBindingElementTests.cs @@ -94,7 +94,7 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements { Protocol protocol = Protocol.Default; var op = this.CreateProvider(); IndirectSignedResponse response = CreateResponseWithExtensions(protocol); - op.Channel.Send(response); + op.Channel.PrepareResponse(response); ITamperResistantOpenIdMessage signedResponse = (ITamperResistantOpenIdMessage)response; string extensionAliasKey = signedResponse.ExtraData.Single(kv => kv.Value == MockOpenIdExtension.MockTypeUri).Key; Assert.IsTrue(extensionAliasKey.StartsWith("openid.ns.")); @@ -124,10 +124,10 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements { }, op => { RegisterMockExtension(op.Channel); - op.Channel.Send(CreateResponseWithExtensions(protocol)).Send(); + op.Channel.Send(CreateResponseWithExtensions(protocol)); op.GetRequest().Response.Send(); // check_auth op.SecuritySettings.SignOutgoingExtensions = false; - op.Channel.Send(CreateResponseWithExtensions(protocol)).Send(); + op.Channel.Send(CreateResponseWithExtensions(protocol)); op.GetRequest().Response.Send(); // check_auth } ); |