diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-15 14:31:08 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-15 14:31:08 -0700 |
commit | f609820f0486cf92edab48c3fbd5adfc133263bc (patch) | |
tree | 56d1ebda5f75be8d572e0a093b311a81bc920e16 /src/DotNetOpenAuth.Test/Messaging/ChannelTests.cs | |
parent | 139c9be97c1ecc42e98426f8bf888eff2ab64659 (diff) | |
download | DotNetOpenAuth-f609820f0486cf92edab48c3fbd5adfc133263bc.zip DotNetOpenAuth-f609820f0486cf92edab48c3fbd5adfc133263bc.tar.gz DotNetOpenAuth-f609820f0486cf92edab48c3fbd5adfc133263bc.tar.bz2 |
Renamed UserAgentResponse to OutgoingWebResponse, and DirectWebResponse to IncomingWebResponse.
Diffstat (limited to 'src/DotNetOpenAuth.Test/Messaging/ChannelTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/Messaging/ChannelTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Test/Messaging/ChannelTests.cs b/src/DotNetOpenAuth.Test/Messaging/ChannelTests.cs index c8f5cbe..8039b21 100644 --- a/src/DotNetOpenAuth.Test/Messaging/ChannelTests.cs +++ b/src/DotNetOpenAuth.Test/Messaging/ChannelTests.cs @@ -75,7 +75,7 @@ namespace DotNetOpenAuth.Test.Messaging { message.Recipient = new Uri("http://provider/path"); var expected = GetStandardTestFields(FieldFill.CompleteBeforeBindings); - UserAgentResponse response = this.Channel.PrepareResponse(message); + OutgoingWebResponse response = this.Channel.PrepareResponse(message); Assert.AreEqual(HttpStatusCode.Redirect, response.Status); StringAssert.StartsWith(response.Headers[HttpResponseHeader.Location], "http://provider/path"); foreach (var pair in expected) { @@ -118,7 +118,7 @@ namespace DotNetOpenAuth.Test.Messaging { Location = new Uri("http://host/path"), Recipient = new Uri("http://provider/path"), }; - UserAgentResponse response = this.Channel.PrepareResponse(message); + OutgoingWebResponse response = this.Channel.PrepareResponse(message); Assert.AreEqual(HttpStatusCode.OK, response.Status, "A form redirect should be an HTTP successful response."); Assert.IsNull(response.Headers[HttpResponseHeader.Location], "There should not be a redirection header in the response."); string body = response.Body; |