Permalink
Browse files

Just 18 failures

  • Loading branch information...
1 parent e596072 commit 16bfa282770e5c27ad413c9dae9342bce554eab4 @AArnott AArnott committed Mar 25, 2013
@@ -125,7 +125,7 @@ public class ExtensionsBindingElementTests : OpenIdTestBase {
int rpStep = 0;
- Handle(RPRealmUri).By(
+ Handle(RPUri).By(
async req => {
var rp = new OpenIdRelyingParty(new StandardRelyingPartyApplicationStore(), this.HostFactories);
RegisterMockExtension(rp.Channel);
@@ -150,12 +150,12 @@ public class ExtensionsBindingElementTests : OpenIdTestBase {
});
Handle(OPUri).By(
async req => {
- var op = new OpenIdProvider(opStore);
+ var op = new OpenIdProvider(opStore, this.HostFactories);
return await AutoProviderActionAsync(op, req, CancellationToken.None);
});
{
- var op = new OpenIdProvider(opStore);
+ var op = new OpenIdProvider(opStore, this.HostFactories);
RegisterMockExtension(op.Channel);
var redirectingResponse = await op.Channel.PrepareResponseAsync(CreateResponseWithExtensions(protocol));
using (var httpClient = this.HostFactories.CreateHttpClient()) {
@@ -70,7 +70,7 @@ public class NonIdentityTests : OpenIdTestBase {
request.IsExtensionOnly = true;
var redirectRequest = await request.GetRedirectingResponseAsync();
Uri redirectResponseUrl;
- using (var httpClient = rp.Channel.HostFactories.CreateHttpClient()) {
+ using (var httpClient = this.HostFactories.CreateHttpClient()) {
using (var redirectResponse = await httpClient.GetAsync(redirectRequest.Headers.Location)) {
redirectResponse.EnsureSuccessStatusCode();
redirectResponseUrl = redirectRequest.Headers.Location;

0 comments on commit 16bfa28

Please sign in to comment.