diff --git a/Burr.Tests.Integration/Readme.cs b/Burr.Tests.Integration/Readme.cs index 47d0f35e..cf3c88cb 100644 --- a/Burr.Tests.Integration/Readme.cs +++ b/Burr.Tests.Integration/Readme.cs @@ -10,7 +10,7 @@ namespace Burr.Tests { public Readme() { - // create an anonlymous client + // create an anonymous client var client = new GitHubClient(); // create a client with basic auth @@ -19,8 +19,6 @@ namespace Burr.Tests // create a client with an oauth token client = new GitHubClient { Token = "oauthtoken" }; - client.GetUserAsync(); - //// Authorizations API //var authorizations = client.Authorizations.All(); //var authorization = client.Authorizations.Get(1); @@ -28,8 +26,6 @@ namespace Burr.Tests //var a = client.Authorizations.Update(1, scopes: new[] { "user", "repo" }, "notes", "http://notes_url"); //var token = client.Authorizations.Create(new[] { "user", "repo" }, "notes", "http://notes_url"); - - //var gists = client.Gists.All(); //var gists = client.Gists.All("user"); //var gists = client.Gists.Public(); @@ -38,5 +34,11 @@ namespace Burr.Tests //client.Gists.Create(); } + + public async Task UserApi() + { + var client = new GitHubClient(); + var user = await client.GetUserAsync("octocat"); + } } }