diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-01-03 08:37:01 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2009-01-03 08:37:01 -0800 |
commit | bc816ee12352c93eb6c47796c0a9cb76a3f68d0b (patch) | |
tree | 19a27ea231f165fef761327e61d88e5c41ad0d4d /src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionTestBase.cs | |
parent | d1cdbd8cbc5ee5901ff8d4e81ba7b3a84f1188dd (diff) | |
download | DotNetOpenAuth-bc816ee12352c93eb6c47796c0a9cb76a3f68d0b.zip DotNetOpenAuth-bc816ee12352c93eb6c47796c0a9cb76a3f68d0b.tar.gz DotNetOpenAuth-bc816ee12352c93eb6c47796c0a9cb76a3f68d0b.tar.bz2 |
Fixed mock CoordinatingChannel to send direct responses and indirect messages while more truly simulating the ordinary channel experience.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionTestBase.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionTestBase.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionTestBase.cs b/src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionTestBase.cs index c616ed3..09a9a8a 100644 --- a/src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionTestBase.cs +++ b/src/DotNetOpenAuth.Test/OpenId/Extensions/ExtensionTestBase.cs @@ -35,7 +35,7 @@ namespace DotNetOpenAuth.Test.OpenId.Extensions { requestBase.Extensions.Add(extension); } - rp.Channel.Send(requestBase); + rp.Channel.Send(requestBase).Send(); var response = rp.Channel.ReadFromRequest<PositiveAssertionResponse>(); var receivedResponses = response.Extensions.Cast<IOpenIdMessageExtension>(); @@ -53,7 +53,7 @@ namespace DotNetOpenAuth.Test.OpenId.Extensions { response.Extensions.Add(extensionResponse); } - op.Channel.Send(response); + op.Channel.Send(response).Send(); }); coordinator.Run(); } |