summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-24 18:52:15 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-24 18:52:15 -0700
commit982dc39402cdce39be4e1d3bb9e8c3ccf92348ed (patch)
tree249259841a4fe76974848987c975a5e06fa622be /src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs
parente0a8bb0217459f537c4d09242e530a7b992b3e00 (diff)
downloadDotNetOpenAuth-982dc39402cdce39be4e1d3bb9e8c3ccf92348ed.zip
DotNetOpenAuth-982dc39402cdce39be4e1d3bb9e8c3ccf92348ed.tar.gz
DotNetOpenAuth-982dc39402cdce39be4e1d3bb9e8c3ccf92348ed.tar.bz2
Fixes ContentType of OAuth 1 direct responses.
22 test failures remaining.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs b/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs
index c714e6f..fdf652c 100644
--- a/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs
+++ b/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs
@@ -121,7 +121,7 @@ namespace DotNetOpenAuth.Test.OAuth.ChannelElements {
var response = await this.channel.PrepareResponseAsync(message);
Assert.AreEqual(HttpStatusCode.OK, response.StatusCode);
- Assert.AreEqual(Channel.HttpFormUrlEncodedContentType, response.Content.Headers.ContentType.MediaType);
+ Assert.AreEqual(Channel.HttpFormUrlEncodedContentType.MediaType, response.Content.Headers.ContentType.MediaType);
NameValueCollection body = HttpUtility.ParseQueryString(await response.Content.ReadAsStringAsync());
Assert.AreEqual("15", body["age"]);