summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/Messaging/ChannelTests.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-03-15 14:31:08 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-03-15 14:31:08 -0700
commitf609820f0486cf92edab48c3fbd5adfc133263bc (patch)
tree56d1ebda5f75be8d572e0a093b311a81bc920e16 /src/DotNetOpenAuth.Test/Messaging/ChannelTests.cs
parent139c9be97c1ecc42e98426f8bf888eff2ab64659 (diff)
downloadDotNetOpenAuth-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.cs4
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;