mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 11:40:42 +00:00
Splitting out the misc client into separate clients as per current documentation (#2574)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace Octokit.Tests.Integration.Clients
|
||||
{
|
||||
public class MetaClientTests
|
||||
{
|
||||
public class TheGetMetadataMethod
|
||||
{
|
||||
[IntegrationTest]
|
||||
public async Task CanRetrieveMetadata()
|
||||
{
|
||||
var github = Helper.GetAnonymousClient();
|
||||
|
||||
var result = await github.Meta.GetMetadata();
|
||||
|
||||
Assert.True(result.VerifiablePasswordAuthentication);
|
||||
Assert.NotEmpty(result.GitHubServicesSha);
|
||||
Assert.True(result.Hooks.Count > 0);
|
||||
Assert.True(result.Git.Count > 0);
|
||||
Assert.True(result.Pages.Count > 0);
|
||||
Assert.True(result.Importer.Count > 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user