Permalink
Browse files

Just 13 failures.

  • Loading branch information...
1 parent ae145f8 commit 1a82457ac9618a24563b09cd6eec77f99b198e77 @AArnott AArnott committed Mar 25, 2013
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/DotNetOpenAuth.Test/OAuth2/AuthorizationServerTests.cs
@@ -220,11 +220,9 @@ public class AuthorizationServerTests : OAuth2TestBase {
return await server.HandleTokenRequestAsync(req, ct);
});
- var client = new WebServerClient(AuthorizationServerDescription, hostFactories: this.HostFactories);
- ////var authState = new AuthorizationState(TestScopes) {
- //// Callback = ClientCallback,
- ////};
+ var client = new WebServerClient(AuthorizationServerDescription, ClientId, ClientSecret, this.HostFactories);
var result = await client.GetClientAccessTokenAsync(clientRequestedScopes);
+ Assert.That(result.AccessToken, Is.Not.Null.And.Not.Empty);
Assert.That(result.Scope, Is.EquivalentTo(serverOverriddenScopes));
}
}

0 comments on commit 1a82457

Please sign in to comment.