Permalink
Browse files

Just 14 failures.

  • Loading branch information...
AArnott committed Mar 25, 2013
1 parent 8c7b332 commit ae145f89f669a35a3538a6c56c8ccfb00a6cc1f5
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/DotNetOpenAuth.Test/OpenId/Provider/HostProcessedRequestTests.cs
@@ -63,19 +63,20 @@ public class HostProcessedRequestTests : OpenIdTestBase {
/// </summary>
[Test]
public async Task IsReturnUrlDiscoverableRequireSsl() {
- this.RegisterMockRPDiscovery(false);
+ this.RegisterMockRPDiscovery(ssl: false);
+ this.RegisterMockRPDiscovery(ssl: true);
this.checkIdRequest.Realm = RPRealmUriSsl;
this.checkIdRequest.ReturnTo = RPUriSsl;
// Try once with RequireSsl
this.provider.SecuritySettings.RequireSsl = true;
this.request = new AuthenticationRequest(this.provider, this.checkIdRequest);
- Assert.AreEqual(RelyingPartyDiscoveryResult.Success, await this.request.IsReturnUrlDiscoverableAsync(this.provider.Channel.HostFactories, CancellationToken.None));
+ Assert.AreEqual(RelyingPartyDiscoveryResult.Success, await this.request.IsReturnUrlDiscoverableAsync(this.HostFactories, CancellationToken.None));
// And again without RequireSsl
this.provider.SecuritySettings.RequireSsl = false;
this.request = new AuthenticationRequest(this.provider, this.checkIdRequest);
- Assert.AreEqual(RelyingPartyDiscoveryResult.Success, await this.request.IsReturnUrlDiscoverableAsync(this.provider.Channel.HostFactories, CancellationToken.None));
+ Assert.AreEqual(RelyingPartyDiscoveryResult.Success, await this.request.IsReturnUrlDiscoverableAsync(this.HostFactories, CancellationToken.None));
}
[Test]

0 comments on commit ae145f8

Please sign in to comment.