Skip to content
This repository was archived by the owner on Mar 20, 2019. It is now read-only.

Commit 1a82457

Browse files
committed
Just 13 failures.
1 parent ae145f8 commit 1a82457

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/DotNetOpenAuth.Test/OAuth2/AuthorizationServerTests.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,9 @@ public async Task ClientCredentialScopeOverride() {
220220
return await server.HandleTokenRequestAsync(req, ct);
221221
});
222222

223-
var client = new WebServerClient(AuthorizationServerDescription, hostFactories: this.HostFactories);
224-
////var authState = new AuthorizationState(TestScopes) {
225-
//// Callback = ClientCallback,
226-
////};
223+
var client = new WebServerClient(AuthorizationServerDescription, ClientId, ClientSecret, this.HostFactories);
227224
var result = await client.GetClientAccessTokenAsync(clientRequestedScopes);
225+
Assert.That(result.AccessToken, Is.Not.Null.And.Not.Empty);
228226
Assert.That(result.Scope, Is.EquivalentTo(serverOverriddenScopes));
229227
}
230228
}

0 commit comments

Comments
 (0)