diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-15 14:54:39 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-03-15 14:54:39 -0700 |
commit | df342fb180ae32ba8ce3443862b38e02cdea8b8d (patch) | |
tree | f39784b23dbe8018c85847967f4e944fab722507 /src/DotNetOpenAuth.Test/OAuth | |
parent | 8489549474fc59f61ff0b7e8ae7d8ffaa9bd7566 (diff) | |
download | DotNetOpenAuth-df342fb180ae32ba8ce3443862b38e02cdea8b8d.zip DotNetOpenAuth-df342fb180ae32ba8ce3443862b38e02cdea8b8d.tar.gz DotNetOpenAuth-df342fb180ae32ba8ce3443862b38e02cdea8b8d.tar.bz2 |
Renamed some methods on the Channel class to be more consistent.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuth')
-rw-r--r-- | src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs b/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs index 143e9be..fd8c15a 100644 --- a/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs +++ b/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs @@ -160,13 +160,13 @@ namespace DotNetOpenAuth.Test.ChannelElements { [TestMethod] public void SendDirectMessageResponseHonorsHttpStatusCodes() { IProtocolMessage message = MessagingTestBase.GetStandardTestMessage(MessagingTestBase.FieldFill.AllRequired); - OutgoingWebResponse directResponse = this.accessor.SendDirectMessageResponse(message); + OutgoingWebResponse directResponse = this.accessor.PrepareDirectResponse(message); Assert.AreEqual(HttpStatusCode.OK, directResponse.Status); var httpMessage = new TestDirectResponseMessageWithHttpStatus(); MessagingTestBase.GetStandardTestMessage(MessagingTestBase.FieldFill.AllRequired, httpMessage); httpMessage.HttpStatusCode = HttpStatusCode.NotAcceptable; - directResponse = this.accessor.SendDirectMessageResponse(httpMessage); + directResponse = this.accessor.PrepareDirectResponse(httpMessage); Assert.AreEqual(HttpStatusCode.NotAcceptable, directResponse.Status); } |