Permalink
Browse files

Just 15 failures.

  • Loading branch information...
1 parent 16bfa28 commit 8c7b3325d64f69ed4357c3399c814b0da000619f @AArnott AArnott committed Mar 25, 2013
@@ -98,7 +98,7 @@ public class ResourceServerTests : OAuth2TestBase {
return await server.HandleTokenRequestAsync(req, ct);
});
- var client = new WebServerClient(AuthorizationServerDescription, hostFactories: this.HostFactories);
+ var client = new WebServerClient(AuthorizationServerDescription, ClientId, ClientSecret, this.HostFactories);
var authState = await client.GetClientAccessTokenAsync(TestScopes);
Assert.That(authState.AccessToken, Is.Not.Null.And.Not.Empty);
Assert.That(authState.RefreshToken, Is.Null);
@@ -128,7 +128,7 @@ public class WebServerClientAuthorizeTests : OAuth2TestBase {
return await server.HandleTokenRequestAsync(req, ct);
});
- var client = new WebServerClient(AuthorizationServerDescription);
+ var client = new WebServerClient(AuthorizationServerDescription, ClientId, ClientSecret, this.HostFactories);
var authState = await client.GetClientAccessTokenAsync(TestScopes);
Assert.That(authState.Scope, Is.EquivalentTo(approvedScopes));
}

0 comments on commit 8c7b332

Please sign in to comment.