summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-24 14:46:23 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-24 14:46:23 -0700
commit1c7e98eb90c0c208d0615c10b36d9ce896cf4eaa (patch)
tree1bb69ff4a249c0283843f6ca1686ee3b650b83d1 /src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
parent92c9e2299434d9bfa60eaee8e00ad23665060d56 (diff)
downloadDotNetOpenAuth-1c7e98eb90c0c208d0615c10b36d9ce896cf4eaa.zip
DotNetOpenAuth-1c7e98eb90c0c208d0615c10b36d9ce896cf4eaa.tar.gz
DotNetOpenAuth-1c7e98eb90c0c208d0615c10b36d9ce896cf4eaa.tar.bz2
Just 37 failures.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs b/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
index 0d05c5e..c7b2bfa 100644
--- a/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
+++ b/src/DotNetOpenAuth.Test/OAuth/AppendixScenarios.cs
@@ -71,6 +71,7 @@ namespace DotNetOpenAuth.Test.OAuth {
consumer.HostFactories = this.HostFactories;
var authorizeUrl = await consumer.RequestUserAuthorizationAsync(new Uri("http://printer.example.com/request_token_ready"));
Uri authorizeResponseUri;
+ this.HostFactories.AllowAutoRedirects = false;
using (var httpClient = this.HostFactories.CreateHttpClient()) {
using (var response = await httpClient.GetAsync(authorizeUrl)) {
Assert.That(response.StatusCode, Is.EqualTo(HttpStatusCode.Redirect));